Skip to contentSkip to conversation

Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c

PATCH In review Roland Dreier 2 participants 3 messages Sep 26, 2005 – Sep 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c

This trivial change fixes the warning

arch/ppc/kernel/perfmon.c:48:7: warning: "CONFIG_6xx" is not defined

arch/ppc/kernel/perfmon.c +1 -1
@@ -45,7 +45,7 @@ static void dummy_perf(struct pt_regs *r
 	mtpmr(PMRN_PMGC0, pmgc0);
 }
 
-#elif CONFIG_6xx
+#elif defined (CONFIG_6xx)
 /* Ensure exceptions are disabled */
 
 static void dummy_perf(struct pt_regs *regs)
#1 lore raw
Quoted 5 lines · Roland Dreier

This trivial change fixes the warning

arch/ppc/kernel/perfmon.c:48:7: warning: "CONFIG_6xx" is not defined

Ben H. already sent out this patch. See the thread called "ppc: fix stupid thinko in oprofile fix" :).

josh

#2 lore raw

Josh> Ben H. already sent out this patch. See the thread called Josh> "ppc: fix stupid thinko in oprofile fix" :).

OK, thanks. Drop this one then...

- R.