Thread (3 messages) flat view 3 messages, 2 authors, 2005-09-27
STALE7655d

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

From: Roland Dreier <hidden>
Date: 2005-09-26 22:56:18
Subsystem: the rest · Maintainer: Linus Torvalds

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)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help