kernel: power: Add PM_USERSPACE_FROZEN workqueue
authorArto Merilainen <amerilainen@nvidia.com>
Tue, 27 Aug 2013 13:17:58 +0000 (16:17 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 27 Sep 2013 19:51:50 +0000 (12:51 -0700)
commitfd7d79741d1ad2a31ea3bfeea947a9d6af16235e
treedef920a1a9ce8c73e3e72f42341915becb3d985e
parent63078e87a62b265111622e58e66d9e67a2e1519b
kernel: power: Add PM_USERSPACE_FROZEN workqueue

Some device drivers require a callback to be called after the userspace
processes are frozen. This patch adds PM_USERSPACE_FROZEN workqueue
which is called after userspace processes are frozen but when the
kernel threads are still functioning.

Bug 1344551

Change-Id: I0e6fd7e2473db168d01c88bc0192326ceea92ebe
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/266774
(cherry picked from commit d964493291ef87eea1a2ee47b5b66305bb18bcf3)
Reviewed-on: http://git-master/r/274939
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
include/linux/suspend.h
kernel/power/power.h