projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
444e0c2
)
CRISv32: annotate irq enable in idle loop
author
Rabin Vincent
<rabin@rab.in>
Fri, 20 Feb 2015 17:57:37 +0000
(18:57 +0100)
committer
Jesper Nilsson
<jespern@axis.com>
Fri, 4 Sep 2015 22:56:49 +0000
(
00:56
+0200)
Use a call to local_irq_enable() instead of incline asm so that the
irqsoff latency tracer knows that interrupts are enabled here.
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/cris/arch-v32/kernel/process.c
b/arch/cris/arch-v32/kernel/process.c
index cebd32e2a8fb912b01c007de6756d5f129a52ca9..c7ce784a393cc24bfaa1a03ba6a486fff9e33363 100644
(file)
--- a/
arch/cris/arch-v32/kernel/process.c
+++ b/
arch/cris/arch-v32/kernel/process.c
@@
-23,9
+23,9
@@
extern void stop_watchdog(void);
/* We use this if we don't have any better idle routine. */
void default_idle(void)
{
+ local_irq_enable();
/* Halt until exception. */
- __asm__ volatile("ei \n\t"
- "halt ");
+ __asm__ volatile("halt");
}
/*