x86, perf: Use apic_write unconditionally
[pandora-kernel.git] / arch / x86 / kernel / cpu / perf_event_p4.c
index a11ce73..0367889 100644 (file)
@@ -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);
        }