summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/timer.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-21 18:22:51 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-22 14:36:01 +0200
commitcc0384917bf69079088701a0725c5fc6b554bf35 (patch)
treed6c5666421b5efd1ef2e492c88416f07e0c8d123 /include/asm-x86/timer.h
parentx86: signal_XX.c declare do_notify_resume before they get used (diff)
downloadlinux-cc0384917bf69079088701a0725c5fc6b554bf35.tar.xz
linux-cc0384917bf69079088701a0725c5fc6b554bf35.zip
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>
Diffstat (limited to '')
-rw-r--r--include/asm-x86/timer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-x86/timer.h b/include/asm-x86/timer.h
index fb2a4ddddf3d..2a8a92d5787b 100644
--- a/include/asm-x86/timer.h
+++ b/include/asm-x86/timer.h
@@ -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()