diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-02-16 04:28:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 11:13:59 -0500 |
commit | e9e2cdb412412326c4827fc78ba27f410d837e6e (patch) | |
tree | cd4ca03e6bdc3691619024492fb9414427b2f813 /include/asm-i386/apic.h | |
parent | 79bf2bb335b85db25d27421c798595a2fa2a0e82 (diff) |
[PATCH] clockevents: i386 drivers
Add clockevent drivers for i386: lapic (local) and PIT/HPET (global). Update
the timer IRQ to call into the PIT/HPET driver's event handler and the
lapic-timer IRQ to call into the lapic clockevent driver. The assignement of
timer functionality is delegated to the core framework code and replaces the
compile and runtime evalution in do_timer_interrupt_hook()
Use the clockevents broadcast support and implement the lapic_broadcast
function for ACPI.
No changes to existing functionality.
[ kdump fix from Vivek Goyal <vgoyal@in.ibm.com> ]
[ fixes based on review feedback from Arjan van de Ven <arjan@infradead.org> ]
Cleanups-from: Adrian Bunk <bunk@stusta.de>
Build-fixes-from: Andrew Morton <akpm@osdl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-i386/apic.h')
-rw-r--r-- | include/asm-i386/apic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-i386/apic.h b/include/asm-i386/apic.h index ccf64fa7b935..a595fe054272 100644 --- a/include/asm-i386/apic.h +++ b/include/asm-i386/apic.h | |||
@@ -113,14 +113,9 @@ extern void smp_local_timer_interrupt (void); | |||
113 | extern void setup_boot_APIC_clock (void); | 113 | extern void setup_boot_APIC_clock (void); |
114 | extern void setup_secondary_APIC_clock (void); | 114 | extern void setup_secondary_APIC_clock (void); |
115 | extern int APIC_init_uniprocessor (void); | 115 | extern int APIC_init_uniprocessor (void); |
116 | extern void disable_APIC_timer(void); | ||
117 | extern void enable_APIC_timer(void); | ||
118 | 116 | ||
119 | extern void enable_NMI_through_LVT0 (void * dummy); | 117 | extern void enable_NMI_through_LVT0 (void * dummy); |
120 | 118 | ||
121 | void smp_send_timer_broadcast_ipi(void); | ||
122 | void switch_APIC_timer_to_ipi(void *cpumask); | ||
123 | void switch_ipi_to_APIC_timer(void *cpumask); | ||
124 | #define ARCH_APICTIMER_STOPS_ON_C3 1 | 119 | #define ARCH_APICTIMER_STOPS_ON_C3 1 |
125 | 120 | ||
126 | extern int timer_over_8254; | 121 | extern int timer_over_8254; |