aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/kernel/apic.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2006-02-13 00:12:09 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-02-13 00:12:09 -0500
commitf1b318793dcd2d9ff6b5ac06e7762098fa079cee (patch)
tree41ace7a3e453b82776b9f2a1d3b670b6afe5aa59 /arch/x86_64/kernel/apic.c
parent49430f97dd952eda60848bf6bf161b4917ba103d (diff)
parente9bb4c9929a63b23dcc637fae312b36b038bdc61 (diff)
Merge branch 'master'
Diffstat (limited to 'arch/x86_64/kernel/apic.c')
-rw-r--r--arch/x86_64/kernel/apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c
index 6147770b434..7a0a3e8d5d7 100644
--- a/arch/x86_64/kernel/apic.c
+++ b/arch/x86_64/kernel/apic.c
@@ -708,7 +708,7 @@ static void setup_APIC_timer(unsigned int clocks)
local_irq_save(flags);
/* wait for irq slice */
- if (vxtime.hpet_address) {
+ if (vxtime.hpet_address && hpet_use_timer) {
int trigger = hpet_readl(HPET_T0_CMP);
while (hpet_readl(HPET_COUNTER) >= trigger)
/* do nothing */ ;