powerpc: fix typo 'CONFIG_PMAC'
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 20 May 2014 20:24:58 +0000 (22:24 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2014 07:04:29 +0000 (17:04 +1000)
Commit b0d278b7d3ae ("powerpc/perf_event: Reduce latency of calling
perf_event_do_pending") added a check for CONFIG_PMAC were a check for
CONFIG_PPC_PMAC was clearly intended.

Fixes: b0d278b7d3ae ("powerpc/perf_event: Reduce latency of calling perf_event_do_pending")
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/time.c

index 7e711bdcc6da5adb399e8ac0a55097e76317fe51..9fff9cdcc5196c3a20b9129d7e407c1dbc113cb7 100644 (file)
@@ -551,7 +551,7 @@ void timer_interrupt(struct pt_regs * regs)
        may_hard_irq_enable();
 
 
-#if defined(CONFIG_PPC32) && defined(CONFIG_PMAC)
+#if defined(CONFIG_PPC32) && defined(CONFIG_PPC_PMAC)
        if (atomic_read(&ppc_n_lost_interrupts) != 0)
                do_IRQ(regs);
 #endif