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

Subsystems: the rest

STALE7646d

3 messages, 2 authors, 2005-09-27 · open the first message on its own page

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

From: Roland Dreier <hidden>
Date: 2005-09-26 22:56:18

This trivial change fixes the warning

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

Signed-off-by: Roland Dreier <redacted>
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)

Re: [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c

From: Roland Dreier <hidden>
Date: 2005-09-26 23:40:12

    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.

Re: [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c

From: Josh Boyer <hidden>
Date: 2005-09-27 00:08:55

On Mon, 2005-09-26 at 15:56 -0700, Roland Dreier wrote:
This trivial change fixes the warning

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

Signed-off-by: Roland Dreier <redacted>
Ben H. already sent out this patch.  See the thread called "ppc: fix
stupid thinko in oprofile fix" :).

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help