PM / s2idle: Make s2idle_wait_head swait based
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 25 May 2018 09:46:47 +0000 (11:46 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 27 May 2018 09:55:02 +0000 (11:55 +0200)
commit9c8cd6b62f39658e5f5db08fcead686905b85ff9
tree8bbd92d645455f3199f19574bea7b21a98ea82db
parentbccaadab5c17ae20077bd93c44e2005b505791ba
PM / s2idle: Make s2idle_wait_head swait based

s2idle_wait_head is used during s2idle with interrupts disabled even on
RT. There is no "custom" wake up function so swait could be used instead
which is also lower weight compared to the wait_queue.
Make s2idle_wait_head a swait_queue_head.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/suspend.c