diff options
-rw-r--r-- | arch/x86/include/asm/apb_timer.h | 1 | ||||
-rw-r--r-- | arch/x86/include/asm/i8253.h | 2 | ||||
-rw-r--r-- | arch/x86/include/asm/time.h | 6 | ||||
-rw-r--r-- | arch/x86/kernel/apb_timer.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/hpet.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/i8253.c | 1 |
7 files changed, 8 insertions, 5 deletions
diff --git a/arch/x86/include/asm/apb_timer.h b/arch/x86/include/asm/apb_timer.h index 2fefa501d3ba..963f7d487781 100644 --- a/arch/x86/include/asm/apb_timer.h +++ b/arch/x86/include/asm/apb_timer.h | |||
@@ -50,7 +50,6 @@ | |||
50 | #define APBT_DEV_USED 1 | 50 | #define APBT_DEV_USED 1 |
51 | 51 | ||
52 | extern void apbt_time_init(void); | 52 | extern void apbt_time_init(void); |
53 | extern struct clock_event_device *global_clock_event; | ||
54 | extern unsigned long apbt_quick_calibrate(void); | 53 | extern unsigned long apbt_quick_calibrate(void); |
55 | extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu); | 54 | extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu); |
56 | extern void apbt_setup_secondary_clock(void); | 55 | extern void apbt_setup_secondary_clock(void); |
diff --git a/arch/x86/include/asm/i8253.h b/arch/x86/include/asm/i8253.h index 20480cef7547..3d5f5eea5da4 100644 --- a/arch/x86/include/asm/i8253.h +++ b/arch/x86/include/asm/i8253.h | |||
@@ -3,8 +3,6 @@ | |||
3 | 3 | ||
4 | #define PIT_LATCH LATCH | 4 | #define PIT_LATCH LATCH |
5 | 5 | ||
6 | extern struct clock_event_device *global_clock_event; | ||
7 | |||
8 | extern void setup_pit_timer(void); | 6 | extern void setup_pit_timer(void); |
9 | 7 | ||
10 | #endif /* _ASM_X86_I8253_H */ | 8 | #endif /* _ASM_X86_I8253_H */ |
diff --git a/arch/x86/include/asm/time.h b/arch/x86/include/asm/time.h index 7bdec4e9b739..92b8aec06970 100644 --- a/arch/x86/include/asm/time.h +++ b/arch/x86/include/asm/time.h | |||
@@ -1,10 +1,12 @@ | |||
1 | #ifndef _ASM_X86_TIME_H | 1 | #ifndef _ASM_X86_TIME_H |
2 | #define _ASM_X86_TIME_H | 2 | #define _ASM_X86_TIME_H |
3 | 3 | ||
4 | extern void hpet_time_init(void); | 4 | #include <linux/clocksource.h> |
5 | |||
6 | #include <asm/mc146818rtc.h> | 5 | #include <asm/mc146818rtc.h> |
7 | 6 | ||
7 | extern void hpet_time_init(void); | ||
8 | extern void time_init(void); | 8 | extern void time_init(void); |
9 | 9 | ||
10 | extern struct clock_event_device *global_clock_event; | ||
11 | |||
10 | #endif /* _ASM_X86_TIME_H */ | 12 | #endif /* _ASM_X86_TIME_H */ |
diff --git a/arch/x86/kernel/apb_timer.c b/arch/x86/kernel/apb_timer.c index 289e92862fd9..2b6630d75e17 100644 --- a/arch/x86/kernel/apb_timer.c +++ b/arch/x86/kernel/apb_timer.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <asm/fixmap.h> | 44 | #include <asm/fixmap.h> |
45 | #include <asm/apb_timer.h> | 45 | #include <asm/apb_timer.h> |
46 | #include <asm/mrst.h> | 46 | #include <asm/mrst.h> |
47 | #include <asm/time.h> | ||
47 | 48 | ||
48 | #define APBT_MASK CLOCKSOURCE_MASK(32) | 49 | #define APBT_MASK CLOCKSOURCE_MASK(32) |
49 | #define APBT_SHIFT 22 | 50 | #define APBT_SHIFT 22 |
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index f3c37841bb33..9da0dc02bea4 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -48,6 +48,7 @@ | |||
48 | #include <asm/hpet.h> | 48 | #include <asm/hpet.h> |
49 | #include <asm/idle.h> | 49 | #include <asm/idle.h> |
50 | #include <asm/mtrr.h> | 50 | #include <asm/mtrr.h> |
51 | #include <asm/time.h> | ||
51 | #include <asm/smp.h> | 52 | #include <asm/smp.h> |
52 | #include <asm/mce.h> | 53 | #include <asm/mce.h> |
53 | #include <asm/tsc.h> | 54 | #include <asm/tsc.h> |
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index 85b8a8a76c21..0f4b0651cd3f 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | #include <asm/fixmap.h> | 15 | #include <asm/fixmap.h> |
16 | #include <asm/hpet.h> | 16 | #include <asm/hpet.h> |
17 | #include <asm/time.h> | ||
17 | 18 | ||
18 | #define HPET_MASK CLOCKSOURCE_MASK(32) | 19 | #define HPET_MASK CLOCKSOURCE_MASK(32) |
19 | 20 | ||
diff --git a/arch/x86/kernel/i8253.c b/arch/x86/kernel/i8253.c index 9c92b6ff571f..5783e6de2079 100644 --- a/arch/x86/kernel/i8253.c +++ b/arch/x86/kernel/i8253.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
15 | 15 | ||
16 | #include <asm/hpet.h> | 16 | #include <asm/hpet.h> |
17 | #include <asm/time.h> | ||
17 | #include <asm/smp.h> | 18 | #include <asm/smp.h> |
18 | 19 | ||
19 | /* | 20 | /* |