[PATCH] clockevents: i386 drivers
authorThomas Gleixner <[email protected]>
Fri, 16 Feb 2007 09:28:04 +0000 (01:28 -0800)
committerLinus Torvalds <[email protected]>
Fri, 16 Feb 2007 16:13:59 +0000 (08:13 -0800)
commite9e2cdb412412326c4827fc78ba27f410d837e6e
treecd4ca03e6bdc3691619024492fb9414427b2f813
parent79bf2bb335b85db25d27421c798595a2fa2a0e82
[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 <[email protected]> ]
[ fixes based on review feedback from Arjan van de Ven <[email protected]> ]
Cleanups-from: Adrian Bunk <[email protected]>
Build-fixes-from: Andrew Morton <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: john stultz <[email protected]>
Cc: Roman Zippel <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
17 files changed:
arch/i386/Kconfig
arch/i386/kernel/Makefile
arch/i386/kernel/apic.c
arch/i386/kernel/hpet.c
arch/i386/kernel/i8253.c
arch/i386/kernel/i8259.c
arch/i386/kernel/smpboot.c
arch/i386/kernel/time.c
arch/i386/kernel/time_hpet.c [deleted file]
arch/i386/mach-default/setup.c
drivers/acpi/processor_idle.c
include/asm-i386/apic.h
include/asm-i386/hpet.h
include/asm-i386/i8253.h
include/asm-i386/mach-default/do_timer.h
include/asm-i386/mach-voyager/do_timer.h
include/asm-i386/mpspec.h