projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0fbf0a
)
x86: delay lib unification build fix
author
Ingo Molnar
<mingo@elte.hu>
Wed, 9 Jul 2008 07:12:55 +0000
(09:12 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 9 Jul 2008 07:13:59 +0000
(09:13 +0200)
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>
include/asm-x86/delay.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86/delay.h
b/include/asm-x86/delay.h
index bb80880c834b33f73d29270048aa92f23bc121b9..409a649204aa7308c8936d6cc08d4479222d6885 100644
(file)
--- a/
include/asm-x86/delay.h
+++ b/
include/asm-x86/delay.h
@@
-26,10
+26,6
@@
extern void __delay(unsigned long loops);
((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \
__ndelay(n))
-#ifdef CONFIG_X86_32
void use_tsc_delay(void);
-#else
-#define use_tsc_delay() {}
-#endif
#endif /* _ASM_X86_DELAY_H */