UPSTREAM next (v3.11): freezer: convert freezable helpers to static inline where...
authorColin Cross <ccross@android.com>
Wed, 15 May 2013 06:04:10 +0000 (11:04 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 31 Aug 2013 02:10:56 +0000 (19:10 -0700)
commita90f3521e043ef7b52e3a9b89185f530f28b5166
tree5c7e02f718940f711bf24cd211788524c2b5e03e
parentc8ec499070a753f8a34f1331a67c8b755a6f40b9
UPSTREAM next (v3.11): freezer: convert freezable helpers to static inline where possible

Some of the freezable helpers have to be macros because their
condition argument needs to get evaluated every time through
the wait loop.  Convert the others to static inline to make
future changes easier.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 8ee492d6595573a0d4be168ebda1c7ceb4ec509d)

Change-Id: I4de904b912a16d937594a9a79017d3f3e7236fcd
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/228693
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
include/linux/freezer.h