]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/pm_runtime.h
PM: Create PM workqueue if runtime PM is not configured too
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jul 2014 23:00:36 +0000 (01:00 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jul 2014 23:00:36 +0000 (01:00 +0200)
commit28cb5ef16e578bbca0a562b09f12c8c98ca92720
tree823c538d2404323cd493dedcde08d41e166f8894
parent9a3c4145af32125c5ee39c0272662b47307a8323
PM: Create PM workqueue if runtime PM is not configured too

The PM workqueue is going to be used by ACPI PM notify handlers
regardless of whether or not runtime PM is configured, so move
it out of #ifdef CONFIG_PM_RUNTIME.

Do that in three places in the ACPI device PM code.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/pm_runtime.h
kernel/power/main.c