From: Roland Dreier <rolandd@cisco.com>
To: paulus@samba.org, linuxppc-dev@ozlabs.org
Subject: [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c
Date: Mon, 26 Sep 2005 15:56:12 -0700 [thread overview]
Message-ID: <523bnrsak3.fsf@cisco.com> (raw)
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)
next reply other threads:[~2005-09-26 22:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-26 22:56 Roland Dreier [this message]
2005-09-26 23:36 ` [PATCH] Change #if CONFIG_6xx -> #if defined(CONFIG_6xx) in perfmon.c Josh Boyer
2005-09-26 23:40 ` Roland Dreier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=523bnrsak3.fsf@cisco.com \
--to=rolandd@cisco.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).