Skip to content

Commit 200e7c0

Browse files
heicarstMartin Schwidefsky
authored andcommitted
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>
1 parent 832a771 commit 200e7c0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/s390/kernel/idle.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ void enabled_wait(void)
3535
/* Call the assembler magic in entry.S */
3636
psw_idle(idle, psw_mask);
3737

38+
trace_hardirqs_off();
39+
3840
/* Account time spent with enabled wait psw loaded as idle time. */
3941
idle->sequence++;
4042
smp_wmb();

0 commit comments

Comments
 (0)