diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 9dd31fafaa81..43f6fcf752b0 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -328,8 +328,8 @@ static int __ref _cpu_down(unsigned int cpu, int tasks_frozen) * * Wait for the stop thread to go away. */ - while (!idle_cpu(cpu)) - cpu_relax(); + while (!idle_cpu_relaxed(cpu)) + cpu_read_relax(); /* This actually kills the CPU. */ __cpu_die(cpu); |