aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/powermac/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c
index 956571526a57..7ccb9236e8b4 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -454,6 +454,9 @@ static int initializing = 1;
454 454
455static int pmac_late_init(void) 455static int pmac_late_init(void)
456{ 456{
457 if (!machine_is(powermac))
458 return -ENODEV;
459
457 initializing = 0; 460 initializing = 0;
458 /* this is udbg (which is __init) and we can later use it during 461 /* this is udbg (which is __init) and we can later use it during
459 * cpu hotplug (in smp_core99_kick_cpu) */ 462 * cpu hotplug (in smp_core99_kick_cpu) */