]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: Rearrange s2idle-specific idle state entry code
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Jun 2020 11:52:53 +0000 (13:52 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Jun 2020 11:52:53 +0000 (13:52 +0200)
commit904bdc00e29458eb278a6caf01a5036f41477423
tree03cd14b0f8d81868677bec9b96aef93622111687
parenteb31b18ee19f0c053b39da4d7ab4b8121b14b19b
cpuidle: Rearrange s2idle-specific idle state entry code

Implement call_cpuidle_s2idle() in analogy with call_cpuidle()
for the s2idle-specific idle state entry and invoke it from
cpuidle_idle_call() to make the s2idle-specific idle entry code
path look more similar to the "regular" idle entry one.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Chen Yu <yu.c.chen@intel.com>
drivers/cpuidle/cpuidle.c
kernel/sched/idle.c