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)
commitb8ba5f10c5956d2b297766fda8f4f5ab8ad1e2cc
tree1c5561c6693bfe6484b9b8a4df0c4bf8354a0e39
parent93df766322ba1db2801e4b826985a4932dd75866
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