]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite229cacea5cad7a93acc806237ae38912b288b01
treed1f8a005d2b6e85f781f2c9a4ba899614ec55ed8
parent29230ba12c9ebdc4bb6e22babcaec9dfa3d76ff4
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