Skip to contentSkip to conversation

ppc: fix stupid thinko in oprofile fix

PATCH New Benjamin Herrenschmidt 1 participant 1 message Sep 26, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc: fix stupid thinko in oprofile fix

I did something stupid in my oprofile fix, here's the obvious fix:

arch/ppc/kernel/perfmon.c +1 -2
Index: linux-work/arch/ppc/kernel/perfmon.c
===================================================================
@@ -45,9 +45,8 @@
 	mtpmr(PMRN_PMGC0, pmgc0);
 }
 
-#elif CONFIG_6xx
+#elif defined(CONFIG_6xx)
 /* Ensure exceptions are disabled */
-
 static void dummy_perf(struct pt_regs *regs)
 {
 	unsigned int mmcr0 = mfspr(SPRN_MMCR0);