]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86_64: Untangle asm/hpet.h from asm/timex.h
authorChris Wright <chrisw@sous-sol.org>
Sat, 21 Jul 2007 15:10:09 +0000 (17:10 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:08 +0000 (18:37 -0700)
When making changes to x86_64 timers, I noticed that touching hpet.h triggered
an unreasonably large rebuild.  Untangling it from timex.h quiets the extra
rebuild quite a bit.

Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/rtc.c
include/asm-x86_64/apic.h
include/asm-x86_64/hpet.h
include/asm-x86_64/timex.h

index 30c3f54c7666ee5f7e666ec38ff125acfd0f2eeb..ec6b65ec69ea6f1726e400667c2462c5af7d5028 100644 (file)
@@ -82,7 +82,7 @@
 #include <asm/uaccess.h>
 #include <asm/system.h>
 
-#if defined(__i386__)
+#ifdef CONFIG_X86
 #include <asm/hpet.h>
 #endif
 
index 45e9fca1febc5410eea5d0aa1c9d261d62e6bc4c..4c2d84dd4f2b789ef4aabef646446893bc564d5f 100644 (file)
@@ -86,6 +86,8 @@ extern void setup_apic_routing(void);
 extern void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector,
                                   unsigned char msg_type, unsigned char mask);
 
+extern int apic_is_clustered_box(void);
+
 #define K8_APIC_EXT_LVT_BASE    0x500
 #define K8_APIC_EXT_INT_MSG_FIX 0x0
 #define K8_APIC_EXT_INT_MSG_SMI 0x2
index 59a66f084611c676be7306d1b458b6e678b492da..71ccdd11d7f05b1902be370b55be92ccd6358adb 100644 (file)
@@ -55,7 +55,6 @@
 
 extern int is_hpet_enabled(void);
 extern int hpet_rtc_timer_init(void);
-extern int apic_is_clustered_box(void);
 extern int hpet_arch_init(void);
 extern int hpet_timer_stop_set_go(unsigned long tick);
 extern int hpet_reenable(void);
index f6527e1b6c1c68eff886a54bc9ff860b48e85b7e..6ed21f44d3084cc2ee2516b9f2b582ae9b543a5a 100644 (file)
@@ -9,7 +9,6 @@
 #include <asm/8253pit.h>
 #include <asm/msr.h>
 #include <asm/vsyscall.h>
-#include <asm/hpet.h>
 #include <asm/system.h>
 #include <asm/processor.h>
 #include <asm/tsc.h>