summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorZhimin Gu2018-09-21 08:27:29 +0200
committerRafael J. Wysocki2018-10-03 11:56:33 +0200
commit445565303d19c75858004c129835fa418b740829 (patch)
tree2656cf743b0c4c9f2328ad857e9ff7501f5fe337 /arch/x86/Kconfig
parentx86, hibernate: Extract the common code of 64/32 bit system (diff)
downloadkernel-qcow2-linux-445565303d19c75858004c129835fa418b740829.tar.gz
kernel-qcow2-linux-445565303d19c75858004c129835fa418b740829.tar.xz
kernel-qcow2-linux-445565303d19c75858004c129835fa418b740829.zip
x86-32, hibernate: Enable CONFIG_ARCH_HIBERNATION_HEADER on 32bit system
Enable CONFIG_ARCH_HIBERNATION_HEADER for 32bit system so that 1. arch_hibernation_header_save/restore() are invoked across hibernation on 32bit system. 2. The checksum handling as well as 'magic' number checking for 32bit system are enabled. Controlled by CONFIG_X86_64 in hibernate.c Signed-off-by: Zhimin Gu <kookoo.gu@intel.com> Signed-off-by: Chen Yu <yu.c.chen@intel.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 1a0be022f91d..e8de5de1057f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2422,7 +2422,7 @@ menu "Power management and ACPI options"
config ARCH_HIBERNATION_HEADER
def_bool y
- depends on X86_64 && HIBERNATION
+ depends on HIBERNATION
source "kernel/power/Kconfig"