diff options
author | john stultz <johnstul@us.ibm.com> | 2007-02-16 04:28:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 11:14:00 -0500 |
commit | 1489939f0ab64b96998e04068c516c39afe29654 (patch) | |
tree | 6bb3ca772edf1dd8877482dc3b6bcc6f0d699e72 /include/asm-x86_64 | |
parent | c37e7bb5d2ce36ef377caabfced0b132bb1bf6a7 (diff) |
[PATCH] time: x86_64: convert x86_64 to use GENERIC_TIME
This patch converts x86_64 to use the GENERIC_TIME infrastructure and adds
clocksource structures for both TSC and HPET (ACPI PM is shared w/ i386).
[akpm@osdl.org: fix printk timestamps]
[akpm@osdl.org: fix printk ckeanups]
[akpm@osdl.org: hpet build fix]
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/proto.h | 2 | ||||
-rw-r--r-- | include/asm-x86_64/timex.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h index 2ce3adf7bfdc..f590ae088f0d 100644 --- a/include/asm-x86_64/proto.h +++ b/include/asm-x86_64/proto.h | |||
@@ -45,11 +45,9 @@ extern u32 pmtmr_ioport; | |||
45 | #else | 45 | #else |
46 | #define pmtmr_ioport 0 | 46 | #define pmtmr_ioport 0 |
47 | #endif | 47 | #endif |
48 | extern unsigned long long monotonic_base; | ||
49 | extern int sysctl_vsyscall; | 48 | extern int sysctl_vsyscall; |
50 | extern int nohpet; | 49 | extern int nohpet; |
51 | extern unsigned long vxtime_hz; | 50 | extern unsigned long vxtime_hz; |
52 | extern void time_init_gtod(void); | ||
53 | 51 | ||
54 | extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2))); | 52 | extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2))); |
55 | 53 | ||
diff --git a/include/asm-x86_64/timex.h b/include/asm-x86_64/timex.h index a0174757aee2..beb6d9014a63 100644 --- a/include/asm-x86_64/timex.h +++ b/include/asm-x86_64/timex.h | |||
@@ -28,9 +28,6 @@ extern int read_current_timer(unsigned long *timer_value); | |||
28 | #define US_SCALE 32 /* 2^32, arbitralrily chosen */ | 28 | #define US_SCALE 32 /* 2^32, arbitralrily chosen */ |
29 | 29 | ||
30 | extern struct vxtime_data vxtime; | 30 | extern struct vxtime_data vxtime; |
31 | 31 | extern void mark_tsc_unstable(void); | |
32 | extern unsigned int do_gettimeoffset_hpet(void); | ||
33 | extern unsigned int do_gettimeoffset_tsc(void); | ||
34 | extern void set_cyc2ns_scale(unsigned long khz); | 32 | extern void set_cyc2ns_scale(unsigned long khz); |
35 | extern int notsc; | ||
36 | #endif | 33 | #endif |