* patch for compiling ppc without pmu
@ 2005-08-23 11:17 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2005-08-23 11:17 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Benjamin Herrenschmidt
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-08-23 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23 11:17 patch for compiling ppc without pmu Johannes Berg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.