[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>
Showing
- arch/i386/Kconfig 8 additions, 0 deletionsarch/i386/Kconfig
- arch/i386/kernel/Makefile 0 additions, 1 deletionarch/i386/kernel/Makefile
- arch/i386/kernel/apic.c 148 additions, 143 deletionsarch/i386/kernel/apic.c
- arch/i386/kernel/hpet.c 477 additions, 19 deletionsarch/i386/kernel/hpet.c
- arch/i386/kernel/i8253.c 88 additions, 8 deletionsarch/i386/kernel/i8253.c
- arch/i386/kernel/i8259.c 0 additions, 6 deletionsarch/i386/kernel/i8259.c
- arch/i386/kernel/smpboot.c 1 addition, 4 deletionsarch/i386/kernel/smpboot.c
- arch/i386/kernel/time.c 3 additions, 67 deletionsarch/i386/kernel/time.c
- arch/i386/kernel/time_hpet.c 0 additions, 497 deletionsarch/i386/kernel/time_hpet.c
- arch/i386/mach-default/setup.c 7 additions, 1 deletionarch/i386/mach-default/setup.c
- drivers/acpi/processor_idle.c 38 additions, 0 deletionsdrivers/acpi/processor_idle.c
- include/asm-i386/apic.h 0 additions, 5 deletionsinclude/asm-i386/apic.h
- include/asm-i386/hpet.h 12 additions, 4 deletionsinclude/asm-i386/hpet.h
- include/asm-i386/i8253.h 15 additions, 0 deletionsinclude/asm-i386/i8253.h
- include/asm-i386/mach-default/do_timer.h 4 additions, 74 deletionsinclude/asm-i386/mach-default/do_timer.h
- include/asm-i386/mach-voyager/do_timer.h 10 additions, 17 deletionsinclude/asm-i386/mach-voyager/do_timer.h
- include/asm-i386/mpspec.h 0 additions, 1 deletioninclude/asm-i386/mpspec.h
Please register or sign in to comment