From: Johannes Berg <johannes@sipsolutions.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: patch for compiling ppc without pmu
Date: Tue, 23 Aug 2005 13:17:24 +0200 [thread overview]
Message-ID: <1124795844.9162.3.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
Hi,
This patch seems to be required to compile 2.6.13-rc6 for ppc configured
without PMU.
Apologies if it is already known, I haven't found anything like this
quickly.
Signed-Off-By: Johannes Berg <johannes@sipsolutions.net>
--- linux-2.6.13-rc6.orig/arch/ppc/platforms/pmac_time.c 2005-08-23 12:14:37.689485664 +0200
+++ linux-2.6.13-rc6/arch/ppc/platforms/pmac_time.c 2005-08-23 12:14:37.689485664 +0200
@@ -251,7 +251,7 @@
struct device_node *cpu;
unsigned int freq, *fp;
-#ifdef CONFIG_PM && CONFIG_ADB_PMU
+#if defined(CONFIG_PM) && defined(CONFIG_ADB_PMU)
pmu_register_sleep_notifier(&time_sleep_notifier);
#endif /* CONFIG_PM */
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
reply other threads:[~2005-08-23 11:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1124795844.9162.3.camel@localhost \
--to=johannes@sipsolutions.net \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.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