.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * The idle loop for all SuperH platforms. |
---|
3 | 4 | * |
---|
4 | 5 | * 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. |
---|
9 | 6 | */ |
---|
10 | 7 | #include <linux/module.h> |
---|
11 | 8 | #include <linux/init.h> |
---|
.. | .. |
---|
17 | 14 | #include <linux/irqflags.h> |
---|
18 | 15 | #include <linux/smp.h> |
---|
19 | 16 | #include <linux/atomic.h> |
---|
20 | | -#include <asm/pgalloc.h> |
---|
21 | 17 | #include <asm/smp.h> |
---|
22 | 18 | #include <asm/bl_bit.h> |
---|
23 | 19 | |
---|
.. | .. |
---|
26 | 22 | void default_idle(void) |
---|
27 | 23 | { |
---|
28 | 24 | set_bl_bit(); |
---|
29 | | - local_irq_enable(); |
---|
| 25 | + raw_local_irq_enable(); |
---|
30 | 26 | /* Isn't this racy ? */ |
---|
31 | 27 | cpu_sleep(); |
---|
32 | 28 | clear_bl_bit(); |
---|