patch for compiling ppc without pmu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux