#include <linux/cpu.h>
#include <linux/module.h>
#include <linux/sysctl.h>
+#include <linux/smp.h>
#include <asm/system.h>
#include <asm/processor.h>
}
}
#endif /* CONFIG_PPC_PSERIES */
-#ifdef CONFIG_PPC_PMAC
- if (systemcfg->platform == PLATFORM_POWERMAC) {
+#ifndef CONFIG_PPC_ISERIES
+ if (systemcfg->platform == PLATFORM_POWERMAC ||
+ systemcfg->platform == PLATFORM_MAPLE) {
printk(KERN_INFO "Using native/NAP idle loop\n");
idle_loop = native_idle;
}
-#endif /* CONFIG_PPC_PMAC */
+#endif /* CONFIG_PPC_ISERIES */
return 1;
}