Skip to content

Commit

Permalink
x86: delay lib unification build fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jul 9, 2008
1 parent f0fbf0a commit f8dd0d3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/asm-x86/delay.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit f8dd0d3

Please sign in to comment.