.. | .. |
---|
| 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> |
---|
| 17 | +#include <asm/processor.h> |
---|
21 | 18 | #include <asm/smp.h> |
---|
22 | 19 | #include <asm/bl_bit.h> |
---|
23 | 20 | |
---|
.. | .. |
---|
26 | 23 | void default_idle(void) |
---|
27 | 24 | { |
---|
28 | 25 | set_bl_bit(); |
---|
29 | | - local_irq_enable(); |
---|
| 26 | + raw_local_irq_enable(); |
---|
30 | 27 | /* Isn't this racy ? */ |
---|
31 | 28 | cpu_sleep(); |
---|
32 | 29 | clear_bl_bit(); |
---|