Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c
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
Signed-off-by Roland Dreier <[email protected]>
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)
Quoted 5 lines · Roland Dreier
This trivial change fixes the warning
arch/ppc/kernel/perfmon.c:48:7: warning: "CONFIG_6xx" is not definedSigned-off-by Roland Dreier <[email protected]>
Ben H. already sent out this patch. See the thread called "ppc: fix stupid thinko in oprofile fix" :).
josh
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.