diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-05-25 11:46:46 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-27 11:55:02 +0200 |
commit | bccaadab5c17ae20077bd93c44e2005b505791ba (patch) | |
tree | 7f7313f270f2c5aa536b4ab8ffd1d5ddcc49c23b /kernel/power/suspend.c | |
parent | PM / suspend: Prevent might sleep splats (diff) | |
download | linux-bccaadab5c17ae20077bd93c44e2005b505791ba.tar.xz linux-bccaadab5c17ae20077bd93c44e2005b505791ba.zip |
PM / wakeup: Make events_lock a RAW_SPINLOCK
The `events_lock' is acquired during suspend while interrupts are
disabled even on RT. The lock is taken only for a very brief moment.
Make it a RAW lock which avoids "sleeping while atomic" warnings on RT.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power/suspend.c')
0 files changed, 0 insertions, 0 deletions