hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/sh/kernel/idle.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0
12 /*
23 * The idle loop for all SuperH platforms.
34 *
45 * Copyright (C) 2002 - 2009 Paul Mundt
5
- *
6
- * This file is subject to the terms and conditions of the GNU General Public
7
- * License. See the file "COPYING" in the main directory of this archive
8
- * for more details.
96 */
107 #include <linux/module.h>
118 #include <linux/init.h>
....@@ -17,7 +14,7 @@
1714 #include <linux/irqflags.h>
1815 #include <linux/smp.h>
1916 #include <linux/atomic.h>
20
-#include <asm/pgalloc.h>
17
+#include <asm/processor.h>
2118 #include <asm/smp.h>
2219 #include <asm/bl_bit.h>
2320
....@@ -26,7 +23,7 @@
2623 void default_idle(void)
2724 {
2825 set_bl_bit();
29
- local_irq_enable();
26
+ raw_local_irq_enable();
3027 /* Isn't this racy ? */
3128 cpu_sleep();
3229 clear_bl_bit();