PM / hibernate: introduce "nohibernate" boot parameter
authorKees Cook <keescook@chromium.org>
Fri, 13 Jun 2014 20:30:35 +0000 (13:30 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 16 Jun 2014 21:29:39 +0000 (23:29 +0200)
commita6e15a39048ec3229b9a53425f4384f55f6cc1b3
treed1f8a005d2b6e85f781f2c9a4ba899614ec55ed8
parent7171511eaec5bf23fb06078f59784a3a0626b38f
PM / hibernate: introduce "nohibernate" boot parameter

To support using kernel features that are not compatible with hibernation,
this creates the "nohibernate" kernel boot parameter to disable both
hibernation and resume. This allows hibernation support to be a boot-time
choice instead of only a compile-time choice.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/kernel-parameters.txt
include/linux/suspend.h
kernel/power/hibernate.c
kernel/power/main.c
kernel/power/user.c