summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-12-01 14:24:41 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-12-08 09:42:31 +0100
commit200e7c0ffb1b174a4aeaa05f7f43a91ac0fddde3 (patch)
tree2a4e6664ce892e848a2699e3e2edf8b763534436
parent832a771034bf62444796ab8868264c3ea9e50866 (diff)
s390/idle: add missing irq off lockdep annotation
psw_idle() returns with interrupts disabled, so we should add the missing annotation. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/kernel/idle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/idle.c b/arch/s390/kernel/idle.c
index 05fbc2c98faf..8814dd9cf644 100644
--- a/arch/s390/kernel/idle.c
+++ b/arch/s390/kernel/idle.c
@@ -35,6 +35,8 @@ void enabled_wait(void)
/* Call the assembler magic in entry.S */
psw_idle(idle, psw_mask);
+ trace_hardirqs_off();
+
/* Account time spent with enabled wait psw loaded as idle time. */
idle->sequence++;
smp_wmb();