]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic: adapt delay.h to common implementation
authorJonas Bonn <jonas@southpole.se>
Sat, 2 Jul 2011 08:29:24 +0000 (10:29 +0200)
committerJonas Bonn <jonas@southpole.se>
Thu, 7 Jul 2011 18:11:39 +0000 (20:11 +0200)
commit31f0151d9acde928203cb6d4ef1fe6a26259cb61
treed503ed633bd4c739471d5c016d2e1c3eb4e063a4
parentb5cff96cc9f1cd9c0403c1b0973a5e6ad98c87f2
asm-generic: adapt delay.h to common implementation

Several architectures are using a common delay.h implementation that
appears to have originated with the x86 architecture.  This common
implementation is a bit fuller than the current asm-generic version
and has some compile-time checks that should be interesting for all
architectures.

This patch takes the common delay.h version and replaces the rather
trivial asm-generic version with it.  As no architecture was actually
using asm-generic/delay.h, this change is rather innocuous; it will,
however, allow us to switch at least four architectures over to using
the asm-generic version.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/delay.h