* [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c
@ 2005-09-26 22:56 Roland Dreier
2005-09-26 23:36 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: Roland Dreier @ 2005-09-26 22:56 UTC (permalink / raw)
To: paulus, linuxppc-dev
This trivial change fixes the warning
arch/ppc/kernel/perfmon.c:48:7: warning: "CONFIG_6xx" is not defined
Signed-off-by: Roland Dreier <rolandd@cisco.com>
diff --git a/arch/ppc/kernel/perfmon.c b/arch/ppc/kernel/perfmon.c
--- a/arch/ppc/kernel/perfmon.c
+++ b/arch/ppc/kernel/perfmon.c
@@ -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)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-27 0:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-26 22:56 [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c Roland Dreier
2005-09-26 23:36 ` Josh Boyer
2005-09-26 23:40 ` Roland Dreier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).