diff options
Diffstat (limited to 'arch/ppc64')
-rw-r--r-- | arch/ppc64/kernel/idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/idle.c b/arch/ppc64/kernel/idle.c index f24ce2b87200..ff8a7db142d3 100644 --- a/arch/ppc64/kernel/idle.c +++ b/arch/ppc64/kernel/idle.c | |||
@@ -292,7 +292,7 @@ static int native_idle(void) | |||
292 | if (need_resched()) | 292 | if (need_resched()) |
293 | schedule(); | 293 | schedule(); |
294 | 294 | ||
295 | if (cpu_is_offline(_smp_processor_id()) && | 295 | if (cpu_is_offline(raw_smp_processor_id()) && |
296 | system_state == SYSTEM_RUNNING) | 296 | system_state == SYSTEM_RUNNING) |
297 | cpu_die(); | 297 | cpu_die(); |
298 | } | 298 | } |