Skip to contentSkip to conversation

patch for compiling ppc without pmu

PATCH Johannes Berg 1 participant 1 message Aug 23, 2005 PowerPC

lore
Share & tools
lore
#0 lore raw

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.

arch/ppc/platforms/pmac_time.c +1 -1
@@ -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 */