git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] x86-64: Fix HPET timer on x460
[pandora-kernel.git]
/
arch
/
x86_64
/
kernel
/
apic.c
diff --git
a/arch/x86_64/kernel/apic.c
b/arch/x86_64/kernel/apic.c
index
6147770
..
7a0a3e8
100644
(file)
--- 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 */ ;