diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-09 03:12:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-09 03:13:59 -0400 |
commit | f8dd0d3c62164160c59034a96eb17d69ac8a0328 (patch) | |
tree | 45467eac3c765ec8157b7a985c21b7ee2039a6f2 /include | |
parent | f0fbf0abc093ec8bf64506eee4ede9e5daf40ffd (diff) |
x86: delay lib unification build fix
fix:
arch/x86/lib/delay.c:93:24: error: macro "use_tsc_delay" passed 1 arguments, but takes just 0
arch/x86/lib/delay.c:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/delay.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-x86/delay.h b/include/asm-x86/delay.h index bb80880c834b..409a649204aa 100644 --- a/include/asm-x86/delay.h +++ b/include/asm-x86/delay.h | |||
@@ -26,10 +26,6 @@ extern void __delay(unsigned long loops); | |||
26 | ((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \ | 26 | ((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \ |
27 | __ndelay(n)) | 27 | __ndelay(n)) |
28 | 28 | ||
29 | #ifdef CONFIG_X86_32 | ||
30 | void use_tsc_delay(void); | 29 | void use_tsc_delay(void); |
31 | #else | ||
32 | #define use_tsc_delay() {} | ||
33 | #endif | ||
34 | 30 | ||
35 | #endif /* _ASM_X86_DELAY_H */ | 31 | #endif /* _ASM_X86_DELAY_H */ |