Commit 55f93afd authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds

x86_64: Untangle asm/hpet.h from asm/timex.h

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: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bef9f9de
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/system.h> #include <asm/system.h>
#if defined(__i386__) #ifdef CONFIG_X86
#include <asm/hpet.h> #include <asm/hpet.h>
#endif #endif
......
...@@ -86,6 +86,8 @@ extern void setup_apic_routing(void); ...@@ -86,6 +86,8 @@ extern void setup_apic_routing(void);
extern void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector, extern void setup_APIC_extened_lvt(unsigned char lvt_off, unsigned char vector,
unsigned char msg_type, unsigned char mask); 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_LVT_BASE 0x500
#define K8_APIC_EXT_INT_MSG_FIX 0x0 #define K8_APIC_EXT_INT_MSG_FIX 0x0
#define K8_APIC_EXT_INT_MSG_SMI 0x2 #define K8_APIC_EXT_INT_MSG_SMI 0x2
......
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
extern int is_hpet_enabled(void); extern int is_hpet_enabled(void);
extern int hpet_rtc_timer_init(void); extern int hpet_rtc_timer_init(void);
extern int apic_is_clustered_box(void);
extern int hpet_arch_init(void); extern int hpet_arch_init(void);
extern int hpet_timer_stop_set_go(unsigned long tick); extern int hpet_timer_stop_set_go(unsigned long tick);
extern int hpet_reenable(void); extern int hpet_reenable(void);
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <asm/8253pit.h> #include <asm/8253pit.h>
#include <asm/msr.h> #include <asm/msr.h>
#include <asm/vsyscall.h> #include <asm/vsyscall.h>
#include <asm/hpet.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/tsc.h> #include <asm/tsc.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment