s390/idle: add missing irq off lockdep annotation
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 1 Dec 2014 13:24:41 +0000 (14:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 8 Dec 2014 08:42:31 +0000 (09:42 +0100)
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>
arch/s390/kernel/idle.c

index 05fbc2c..8814dd9 100644 (file)
@@ -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();