diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-12-01 14:24:41 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-12-08 09:42:31 +0100 |
commit | 200e7c0ffb1b174a4aeaa05f7f43a91ac0fddde3 (patch) | |
tree | 2a4e6664ce892e848a2699e3e2edf8b763534436 | |
parent | s390/debug: avoid function call for debug_sprintf_* (diff) | |
download | linux-200e7c0ffb1b174a4aeaa05f7f43a91ac0fddde3.tar.xz linux-200e7c0ffb1b174a4aeaa05f7f43a91ac0fddde3.zip |
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.c | 2 |
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(); |