hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/powerpc/kernel/idle_book3e.S
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright 2010 IBM Corp, Benjamin Herrenschmidt <benh@kernel.crashing.org>
34 *
45 * Generic idle routine for Book3E processors
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
106 */
117
128 #include <linux/threads.h>
....@@ -63,7 +59,7 @@
6359 1: /* Let's set the _TLF_NAPPING flag so interrupts make us return
6460 * to the right spot
6561 */
66
- CURRENT_THREAD_INFO(r11, r1)
62
+ ld r11, PACACURRENT(r13)
6763 ld r10,TI_LOCAL_FLAGS(r11)
6864 ori r10,r10,_TLF_NAPPING
6965 std r10,TI_LOCAL_FLAGS(r11)