Skip to content

Commit

Permalink
s390/idle: add missing irq off lockdep annotation
Browse files Browse the repository at this point in the history
psw_idle() returns with interrupts disabled, so we should add the
missing annotation.

Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
heicarst authored and Martin Schwidefsky committed Dec 8, 2014
1 parent 832a771 commit 200e7c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/s390/kernel/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 200e7c0

Please sign in to comment.