summaryrefslogtreecommitdiff
path: root/arch/arc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r--arch/arc/kernel/process.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arc/kernel/process.c b/arch/arc/kernel/process.c
index 51560435a26b..44092456776f 100644
--- a/arch/arc/kernel/process.c
+++ b/arch/arc/kernel/process.c
@@ -47,13 +47,7 @@ void arch_cpu_idle(void)
if (is_isa_arcompact()) {
__asm__("sleep 0x3");
} else {
- /* default irq priority (<=) which can interrupt the doze */
- const int arg = 0x10 | ARCV2_IRQ_DEF_PRIO;
-
- __asm__ __volatile__(
- "sleep %0 \n"
- :
- :"r"(arg));
+ __asm__("sleep 0x10");
}
}