[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200609221000.33978.vda.linux@googlemail.com>
Date: Fri, 22 Sep 2006 10:00:33 +0200
From: Denis Vlasenko <vda.linux@...glemail.com>
To: linux-kernel@...r.kernel.org, Andrew Morton <akpm@...l.org>,
Russell King <rmk@....linux.org.uk>
Subject: [PATCH 3/3] delay: add generic udelay(), mdelay() and ssleep()
This patch does the following:
* make it so than asm/delay.h does not define udelay(),
only __udelay(), to be used in generic udelay()
* add generic udelay() which calls __udelay() repeatedly
as needed. Protect against overflow in udelay() argument.
* similarly for mdelay() and ssleep()
* __const_udelay for all arches is removed or renamed to
__const_delay (it did not do microsecond delays anyway)
if still used by arch ndelay() function/macro
* remove EXPORT_SYMBOL(__udelay). It is not used in modules
anymore
* remove MAX_UDELAY_MS
We specifically do not touch ndelay() in these patches.
Signed-off-by: Denis Vlasenko <vda.linux@...glemail.com>
--
vda
View attachment "delay8.3.patch" of type "text/x-diff" (32619 bytes)
Powered by blists - more mailing lists