]> 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)
commit56c63ba10cd6dd0ca18a36a81127e047d0cf8ee2
treed1f8a005d2b6e85f781f2c9a4ba899614ec55ed8
parent081ef54181a1ff0d2c7e189052277797ff8dd0dd
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