hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/powerpc/platforms/powernv/subcore.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * 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.
84 */
95
106 #define pr_fmt(fmt) "powernv: " fmt
....@@ -183,7 +179,7 @@
183179 cpu = smp_processor_id();
184180 if (cpu_thread_in_core(cpu) != 0) {
185181 while (mfspr(SPRN_HID0) & mask)
186
- power7_idle_insn(PNV_THREAD_NAP);
182
+ power7_idle_type(PNV_THREAD_NAP);
187183
188184 per_cpu(split_state, cpu).step = SYNC_STEP_UNSPLIT;
189185 return;