]> git.baikalelectronics.ru Git - kernel.git/commit
x86: KVM geust: make setup_secondary_clock definition dependent on local apic
authorGlauber Costa <gcosta@redhat.com>
Wed, 30 Apr 2008 15:39:05 +0000 (12:39 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:45:12 +0000 (14:45 +0300)
commit37f6499e08c30c52c0792c41bd81093f04824f8b
tree1c5561c6693bfe6484b9b8a4df0c4bf8354a0e39
parent0ad74f3d76bc7ecf09d13b5ccd25c5a6a88f0d11
x86: KVM geust: make setup_secondary_clock definition dependent on local apic

Since the pv_apic_ops are only present if CONFIG_X86_LOCAL_APIC is compiled
in, kvmclock failed to build without this option.  This patch fixes this.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kernel/kvmclock.c