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
x86, perf: Use apic_write unconditionally
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
cpu
/
perf_event_p4.c
diff --git
a/arch/x86/kernel/cpu/perf_event_p4.c
b/arch/x86/kernel/cpu/perf_event_p4.c
index
a11ce73
..
0367889
100644
(file)
--- a/
arch/x86/kernel/cpu/perf_event_p4.c
+++ b/
arch/x86/kernel/cpu/perf_event_p4.c
@@
-363,10
+363,8
@@
static int p4_pmu_handle_irq(struct pt_regs *regs)
}
if (handled) {
-#ifdef CONFIG_X86_LOCAL_APIC
/* p4 quirk: unmask it again */
apic_write(APIC_LVTPC, apic_read(APIC_LVTPC) & ~APIC_LVT_MASKED);
-#endif
inc_irq_stat(apic_perf_irqs);
}