summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/delay.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-03-06 09:23:15 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-03-06 09:23:15 +0100
commit7b9726a7a0d8c70ea44a5ed23726748de344f223 (patch)
treea9c96bf0e1e084981e4bd8e14c6c8505f0780dbb /include/asm-sh/delay.h
parentsh: Fix up SH7710 VoIP-GW build. (diff)
downloadlinux-7b9726a7a0d8c70ea44a5ed23726748de344f223.tar.xz
linux-7b9726a7a0d8c70ea44a5ed23726748de344f223.zip
sh: Fix up the sh64 build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to '')
-rw-r--r--include/asm-sh/delay.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-sh/delay.h b/include/asm-sh/delay.h
index d5d464041003..4b16bf9b56bd 100644
--- a/include/asm-sh/delay.h
+++ b/include/asm-sh/delay.h
@@ -15,7 +15,6 @@ extern void __ndelay(unsigned long nsecs);
extern void __const_udelay(unsigned long xloops);
extern void __delay(unsigned long loops);
-#ifdef CONFIG_SUPERH32
#define udelay(n) (__builtin_constant_p(n) ? \
((n) > 20000 ? __bad_udelay() : __const_udelay((n) * 0x10c6ul)) : \
__udelay(n))
@@ -23,9 +22,5 @@ extern void __delay(unsigned long loops);
#define ndelay(n) (__builtin_constant_p(n) ? \
((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \
__ndelay(n))
-#else
-extern void udelay(unsigned long usecs);
-extern void ndelay(unsigned long nsecs);
-#endif
#endif /* __ASM_SH_DELAY_H */