summaryrefslogtreecommitdiffstats
path: root/kernel/power/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/smp.c')
-rw-r--r--kernel/power/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/smp.c b/kernel/power/smp.c
index bbe2307..911fc62 100644
--- a/kernel/power/smp.c
+++ b/kernel/power/smp.c
@@ -38,7 +38,7 @@ void disable_nonboot_cpus(void)
}
printk("Error taking cpu %d down: %d\n", cpu, error);
}
- BUG_ON(smp_processor_id() != 0);
+ BUG_ON(raw_smp_processor_id() != 0);
if (error)
panic("cpus not sleeping");
}
OpenPOWER on IntegriCloud