patch for compiling ppc without pmu
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]>
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 */