Explorar o código

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>
Heiko Carstens %!s(int64=10) %!d(string=hai) anos
pai
achega
200e7c0ffb
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      arch/s390/kernel/idle.c

+ 2 - 0
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();