linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [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

* Re: [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2005-09-26 23:36 UTC (permalink / raw)
  To: Roland Dreier; +Cc: linuxppc-dev

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 <rolandd@cisco.com>

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

josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c
  2005-09-26 23:36 ` Josh Boyer
@ 2005-09-26 23:40   ` Roland Dreier
  0 siblings, 0 replies; 3+ messages in thread
From: Roland Dreier @ 2005-09-26 23:40 UTC (permalink / raw)
  To: Josh Boyer; +Cc: linuxppc-dev

    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.

^ 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).