diff options
Diffstat (limited to 'arch/mips/kernel/idle.c')
-rw-r--r-- | arch/mips/kernel/idle.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c index 985cc02786e3..3b09b888afa9 100644 --- a/arch/mips/kernel/idle.c +++ b/arch/mips/kernel/idle.c | |||
@@ -45,6 +45,12 @@ static void r39xx_wait(void) | |||
45 | local_irq_enable(); | 45 | local_irq_enable(); |
46 | } | 46 | } |
47 | 47 | ||
48 | void r4k_wait(void) | ||
49 | { | ||
50 | local_irq_enable(); | ||
51 | __r4k_wait(); | ||
52 | } | ||
53 | |||
48 | /* | 54 | /* |
49 | * This variant is preferable as it allows testing need_resched and going to | 55 | * This variant is preferable as it allows testing need_resched and going to |
50 | * sleep depending on the outcome atomically. Unfortunately the "It is | 56 | * sleep depending on the outcome atomically. Unfortunately the "It is |