]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: Convert VMI timer to use clock events
authorZachary Amsden <zach@vmware.com>
Wed, 2 May 2007 17:27:16 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:16 +0000 (19:27 +0200)
commite0bb8643974397a8d36670e06e6a54bb84f3289f
tree196c6929fb8ccfe839f044a73be2f9861a88f175
parenteeef9c68aae2f4f21ab810d0339e0f22d30b0cd8
[PATCH] i386: Convert VMI timer to use clock events

Convert VMI timer to use clock events, making it properly able to use the NO_HZ
infrastructure.  On UP systems, with no local APIC, we just continue to route
these events through the PIT.  On systems with a local APIC, or SMP, we provide
a single source interrupt chip which creates the local timer IRQ.  It actually
gets delivered by the APIC hardware, but we don't want to use the same local
APIC clocksource processing, so we create our own handler here.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andi Kleen <ak@suse.de>
CC: Dan Hecht <dhecht@vmware.com>
CC: Ingo Molnar <mingo@elte.hu>
CC: Thomas Gleixner <tglx@linutronix.de>
arch/i386/kernel/Makefile
arch/i386/kernel/entry.S
arch/i386/kernel/vmi.c
arch/i386/kernel/vmiclock.c [new file with mode: 0644]
arch/i386/kernel/vmitime.c [deleted file]
include/asm-i386/vmi_time.h