[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200608221548.37192.vda.linux@googlemail.com>
Date: Tue, 22 Aug 2006 15:48:37 +0200
From: Denis Vlasenko <vda.linux@...glemail.com>
To: linux-kernel@...r.kernel.org, Andrew Morton <akpm@...l.org>
Subject: [PATCH 1/3] s/#include <asm/delay.h>/#include <linux/delay.h>/
On Tuesday 22 August 2006 15:45, Denis Vlasenko wrote:
> Currently, magic in include/linux/delay.h
> inlines mdelay and ssleep, and various arches
> do the same to udelay.
>
> This is pointless. We are going to perform a delay of 1000+
> CPU cycles anyway, no need to optimize away a few cycles.
>
> This patchset converts calls to these functions
> into true functuon calls, with no additional
> math done or hidden arguments pushed to stack
> at the callsite.
A few arch files won't see the definition of udelay()
in asm/delay.h anymore. Prevent that from biting us later.
Signed-off-by: Denis Vlasenko <vda.linux@...glemail.com>
--
vda
View attachment "delay_new7.1.patch" of type "text/x-diff" (16681 bytes)
Powered by blists - more mailing lists