瀏覽代碼

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 10 年之前
父節點
當前提交
200e7c0ffb
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 */
 	/* Call the assembler magic in entry.S */
 	psw_idle(idle, psw_mask);
 	psw_idle(idle, psw_mask);
 
 
+	trace_hardirqs_off();
+
 	/* Account time spent with enabled wait psw loaded as idle time. */
 	/* Account time spent with enabled wait psw loaded as idle time. */
 	idle->sequence++;
 	idle->sequence++;
 	smp_wmb();
 	smp_wmb();