x86: time_XX.c declare functions before they get used
Declare time_init() in asm-x86/time.h Also did cleanup in asm-x86/timer.h : timer_ack is only required for X86_32 int recalibrate_cpu_khz(void) is for X86_32 Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
This commit is contained in:
committed by
Ingo Molnar
parent
b994b6c033
commit
cc0384917b
@@ -9,9 +9,12 @@
|
||||
unsigned long long native_sched_clock(void);
|
||||
unsigned long native_calibrate_tsc(void);
|
||||
|
||||
#ifdef CONFIG_X86_32
|
||||
extern int timer_ack;
|
||||
extern int no_timer_check;
|
||||
extern int recalibrate_cpu_khz(void);
|
||||
#endif /* CONFIG_X86_32 */
|
||||
|
||||
extern int no_timer_check;
|
||||
|
||||
#ifndef CONFIG_PARAVIRT
|
||||
#define calibrate_tsc() native_calibrate_tsc()
|
||||
|
Reference in New Issue
Block a user