aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-v850/delay.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-07 00:59:00 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 07:53:32 -0800
commit23f88fe4bffe01a0d29326789cb5813cd6f8158e (patch)
tree163c8a86cbc059e3f8a65eeb0c1ee366548e595c /include/asm-v850/delay.h
parent26d89d1eef38473d0da64b7137952c56d0b6d13f (diff)
downloadkernel_samsung_smdk4412-23f88fe4bffe01a0d29326789cb5813cd6f8158e.zip
kernel_samsung_smdk4412-23f88fe4bffe01a0d29326789cb5813cd6f8158e.tar.gz
kernel_samsung_smdk4412-23f88fe4bffe01a0d29326789cb5813cd6f8158e.tar.bz2
[PATCH] include/asm-v850/ "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Miles Bader <miles@gnu.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-v850/delay.h')
-rw-r--r--include/asm-v850/delay.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-v850/delay.h b/include/asm-v850/delay.h
index 1ce65d48..6d028e6 100644
--- a/include/asm-v850/delay.h
+++ b/include/asm-v850/delay.h
@@ -16,7 +16,7 @@
#include <asm/param.h>
-extern __inline__ void __delay(unsigned long loops)
+static inline void __delay(unsigned long loops)
{
if (loops)
__asm__ __volatile__ ("1: add -1, %0; bnz 1b"
@@ -33,7 +33,7 @@ extern __inline__ void __delay(unsigned long loops)
extern unsigned long loops_per_jiffy;
-extern __inline__ void udelay(unsigned long usecs)
+static inline void udelay(unsigned long usecs)
{
register unsigned long full_loops, part_loops;