aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorjohn stultz <johnstul@us.ibm.com>2007-02-16 04:28:20 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-16 11:14:00 -0500
commit1489939f0ab64b96998e04068c516c39afe29654 (patch)
tree6bb3ca772edf1dd8877482dc3b6bcc6f0d699e72 /include/asm-x86_64
parentc37e7bb5d2ce36ef377caabfced0b132bb1bf6a7 (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.h2
-rw-r--r--include/asm-x86_64/timex.h5
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
48extern unsigned long long monotonic_base;
49extern int sysctl_vsyscall; 48extern int sysctl_vsyscall;
50extern int nohpet; 49extern int nohpet;
51extern unsigned long vxtime_hz; 50extern unsigned long vxtime_hz;
52extern void time_init_gtod(void);
53 51
54extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2))); 52extern 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
30extern struct vxtime_data vxtime; 30extern struct vxtime_data vxtime;
31 31extern void mark_tsc_unstable(void);
32extern unsigned int do_gettimeoffset_hpet(void);
33extern unsigned int do_gettimeoffset_tsc(void);
34extern void set_cyc2ns_scale(unsigned long khz); 32extern void set_cyc2ns_scale(unsigned long khz);
35extern int notsc;
36#endif 33#endif