.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright 2013, Michael (Ellerman|Neuling), IBM Corporation. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or |
---|
5 | | - * modify it under the terms of the GNU General Public License |
---|
6 | | - * as published by the Free Software Foundation; either version |
---|
7 | | - * 2 of the License, or (at your option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #define pr_fmt(fmt) "powernv: " fmt |
---|
.. | .. |
---|
183 | 179 | cpu = smp_processor_id(); |
---|
184 | 180 | if (cpu_thread_in_core(cpu) != 0) { |
---|
185 | 181 | while (mfspr(SPRN_HID0) & mask) |
---|
186 | | - power7_idle_insn(PNV_THREAD_NAP); |
---|
| 182 | + power7_idle_type(PNV_THREAD_NAP); |
---|
187 | 183 | |
---|
188 | 184 | per_cpu(split_state, cpu).step = SYNC_STEP_UNSPLIT; |
---|
189 | 185 | return; |
---|