diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Kconfig.debug | 4 | ||||
-rw-r--r-- | arch/i386/kernel/e820.c | 2 | ||||
-rw-r--r-- | arch/i386/mm/init.c | 2 | ||||
-rw-r--r-- | arch/i386/power/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/Kconfig.debug | 2 | ||||
-rw-r--r-- | arch/powerpc/configs/lite5200_defconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/configs/pmac32_defconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/Makefile | 6 | ||||
-rw-r--r-- | arch/ppc/configs/TQM8540_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/TQM8541_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/TQM8555_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/TQM8560_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/ev64360_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/ml300_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/ml403_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/mpc834x_sys_defconfig | 2 | ||||
-rw-r--r-- | arch/ppc/configs/prep_defconfig | 2 | ||||
-rw-r--r-- | arch/sparc64/Kconfig.debug | 2 | ||||
-rw-r--r-- | arch/x86_64/defconfig | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/suspend.c | 4 |
21 files changed, 25 insertions, 25 deletions
diff --git a/arch/i386/Kconfig.debug b/arch/i386/Kconfig.debug index b31c0802e1cc..f03531eacdfb 100644 --- a/arch/i386/Kconfig.debug +++ b/arch/i386/Kconfig.debug | |||
@@ -36,11 +36,11 @@ config DEBUG_STACK_USAGE | |||
36 | This option will slow down process creation somewhat. | 36 | This option will slow down process creation somewhat. |
37 | 37 | ||
38 | comment "Page alloc debug is incompatible with Software Suspend on i386" | 38 | comment "Page alloc debug is incompatible with Software Suspend on i386" |
39 | depends on DEBUG_KERNEL && SOFTWARE_SUSPEND | 39 | depends on DEBUG_KERNEL && HIBERNATION |
40 | 40 | ||
41 | config DEBUG_PAGEALLOC | 41 | config DEBUG_PAGEALLOC |
42 | bool "Debug page memory allocations" | 42 | bool "Debug page memory allocations" |
43 | depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND && !HUGETLBFS | 43 | depends on DEBUG_KERNEL && !HIBERNATION && !HUGETLBFS |
44 | help | 44 | help |
45 | Unmap pages from the kernel linear mapping after free_pages(). | 45 | Unmap pages from the kernel linear mapping after free_pages(). |
46 | This results in a large slowdown, but helps to find certain types | 46 | This results in a large slowdown, but helps to find certain types |
diff --git a/arch/i386/kernel/e820.c b/arch/i386/kernel/e820.c index e60cddbc4cfb..3c86b979a40a 100644 --- a/arch/i386/kernel/e820.c +++ b/arch/i386/kernel/e820.c | |||
@@ -321,7 +321,7 @@ static int __init request_standard_resources(void) | |||
321 | 321 | ||
322 | subsys_initcall(request_standard_resources); | 322 | subsys_initcall(request_standard_resources); |
323 | 323 | ||
324 | #if defined(CONFIG_PM) && defined(CONFIG_SOFTWARE_SUSPEND) | 324 | #if defined(CONFIG_PM) && defined(CONFIG_HIBERNATION) |
325 | /** | 325 | /** |
326 | * e820_mark_nosave_regions - Find the ranges of physical addresses that do not | 326 | * e820_mark_nosave_regions - Find the ranges of physical addresses that do not |
327 | * correspond to e820 RAM areas and mark the corresponding pages as nosave for | 327 | * correspond to e820 RAM areas and mark the corresponding pages as nosave for |
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index 4c4809f13cb1..730a5b177b1f 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c | |||
@@ -432,7 +432,7 @@ static void __init pagetable_init (void) | |||
432 | paravirt_pagetable_setup_done(pgd_base); | 432 | paravirt_pagetable_setup_done(pgd_base); |
433 | } | 433 | } |
434 | 434 | ||
435 | #if defined(CONFIG_SOFTWARE_SUSPEND) || defined(CONFIG_ACPI) | 435 | #if defined(CONFIG_HIBERNATION) || defined(CONFIG_ACPI) |
436 | /* | 436 | /* |
437 | * Swap suspend & friends need this for resume because things like the intel-agp | 437 | * Swap suspend & friends need this for resume because things like the intel-agp |
438 | * driver might have split up a kernel 4MB mapping. | 438 | * driver might have split up a kernel 4MB mapping. |
diff --git a/arch/i386/power/Makefile b/arch/i386/power/Makefile index 2de7bbf03cd7..d764ec950065 100644 --- a/arch/i386/power/Makefile +++ b/arch/i386/power/Makefile | |||
@@ -1,2 +1,2 @@ | |||
1 | obj-$(CONFIG_PM) += cpu.o | 1 | obj-$(CONFIG_PM) += cpu.o |
2 | obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o suspend.o | 2 | obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o |
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 5c71624ee38d..22acece95b11 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -20,7 +20,7 @@ config DEBUG_STACK_USAGE | |||
20 | 20 | ||
21 | config DEBUG_PAGEALLOC | 21 | config DEBUG_PAGEALLOC |
22 | bool "Debug page memory allocations" | 22 | bool "Debug page memory allocations" |
23 | depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND | 23 | depends on DEBUG_KERNEL && !HIBERNATION |
24 | help | 24 | help |
25 | Unmap pages from the kernel linear mapping after free_pages(). | 25 | Unmap pages from the kernel linear mapping after free_pages(). |
26 | This results in a large slowdown, but helps to find certain types | 26 | This results in a large slowdown, but helps to find certain types |
diff --git a/arch/powerpc/configs/lite5200_defconfig b/arch/powerpc/configs/lite5200_defconfig index d12a981398b8..9c30ca451617 100644 --- a/arch/powerpc/configs/lite5200_defconfig +++ b/arch/powerpc/configs/lite5200_defconfig | |||
@@ -196,7 +196,7 @@ CONFIG_PM=y | |||
196 | # CONFIG_PM_LEGACY is not set | 196 | # CONFIG_PM_LEGACY is not set |
197 | # CONFIG_PM_DEBUG is not set | 197 | # CONFIG_PM_DEBUG is not set |
198 | # CONFIG_PM_SYSFS_DEPRECATED is not set | 198 | # CONFIG_PM_SYSFS_DEPRECATED is not set |
199 | # CONFIG_SOFTWARE_SUSPEND is not set | 199 | # CONFIG_HIBERNATION is not set |
200 | CONFIG_SECCOMP=y | 200 | CONFIG_SECCOMP=y |
201 | # CONFIG_WANT_DEVICE_TREE is not set | 201 | # CONFIG_WANT_DEVICE_TREE is not set |
202 | CONFIG_ISA_DMA_API=y | 202 | CONFIG_ISA_DMA_API=y |
diff --git a/arch/powerpc/configs/pmac32_defconfig b/arch/powerpc/configs/pmac32_defconfig index 0d8ba623e29a..08525d6fb1f1 100644 --- a/arch/powerpc/configs/pmac32_defconfig +++ b/arch/powerpc/configs/pmac32_defconfig | |||
@@ -218,7 +218,7 @@ CONFIG_PM=y | |||
218 | CONFIG_PM_DEBUG=y | 218 | CONFIG_PM_DEBUG=y |
219 | # CONFIG_DISABLE_CONSOLE_SUSPEND is not set | 219 | # CONFIG_DISABLE_CONSOLE_SUSPEND is not set |
220 | CONFIG_PM_SYSFS_DEPRECATED=y | 220 | CONFIG_PM_SYSFS_DEPRECATED=y |
221 | CONFIG_SOFTWARE_SUSPEND=y | 221 | CONFIG_HIBERNATION=y |
222 | CONFIG_PM_STD_PARTITION="" | 222 | CONFIG_PM_STD_PARTITION="" |
223 | CONFIG_APM_EMULATION=y | 223 | CONFIG_APM_EMULATION=y |
224 | CONFIG_SECCOMP=y | 224 | CONFIG_SECCOMP=y |
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 42c42ecad00c..f39a72f30aad 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -37,9 +37,9 @@ obj-$(CONFIG_GENERIC_TBSYNC) += smp-tbsync.o | |||
37 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 37 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
38 | obj-$(CONFIG_6xx) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o | 38 | obj-$(CONFIG_6xx) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o |
39 | obj-$(CONFIG_TAU) += tau_6xx.o | 39 | obj-$(CONFIG_TAU) += tau_6xx.o |
40 | obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o suspend.o | 40 | obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o |
41 | obj32-$(CONFIG_SOFTWARE_SUSPEND) += swsusp_32.o | 41 | obj32-$(CONFIG_HIBERNATION) += swsusp_32.o |
42 | obj64-$(CONFIG_SOFTWARE_SUSPEND) += swsusp_64.o swsusp_asm64.o | 42 | obj64-$(CONFIG_HIBERNATION) += swsusp_64.o swsusp_asm64.o |
43 | obj32-$(CONFIG_MODULES) += module_32.o | 43 | obj32-$(CONFIG_MODULES) += module_32.o |
44 | 44 | ||
45 | ifeq ($(CONFIG_PPC_MERGE),y) | 45 | ifeq ($(CONFIG_PPC_MERGE),y) |
diff --git a/arch/ppc/configs/TQM8540_defconfig b/arch/ppc/configs/TQM8540_defconfig index 99bf3b7a2762..f33f0e772dcb 100644 --- a/arch/ppc/configs/TQM8540_defconfig +++ b/arch/ppc/configs/TQM8540_defconfig | |||
@@ -136,7 +136,7 @@ CONFIG_BINFMT_ELF=y | |||
136 | # CONFIG_BINFMT_MISC is not set | 136 | # CONFIG_BINFMT_MISC is not set |
137 | # CONFIG_CMDLINE_BOOL is not set | 137 | # CONFIG_CMDLINE_BOOL is not set |
138 | # CONFIG_PM is not set | 138 | # CONFIG_PM is not set |
139 | # CONFIG_SOFTWARE_SUSPEND is not set | 139 | # CONFIG_HIBERNATION is not set |
140 | CONFIG_SECCOMP=y | 140 | CONFIG_SECCOMP=y |
141 | CONFIG_ISA_DMA_API=y | 141 | CONFIG_ISA_DMA_API=y |
142 | 142 | ||
diff --git a/arch/ppc/configs/TQM8541_defconfig b/arch/ppc/configs/TQM8541_defconfig index 0ff56695d349..e00cd62daa3f 100644 --- a/arch/ppc/configs/TQM8541_defconfig +++ b/arch/ppc/configs/TQM8541_defconfig | |||
@@ -138,7 +138,7 @@ CONFIG_BINFMT_ELF=y | |||
138 | # CONFIG_BINFMT_MISC is not set | 138 | # CONFIG_BINFMT_MISC is not set |
139 | # CONFIG_CMDLINE_BOOL is not set | 139 | # CONFIG_CMDLINE_BOOL is not set |
140 | # CONFIG_PM is not set | 140 | # CONFIG_PM is not set |
141 | # CONFIG_SOFTWARE_SUSPEND is not set | 141 | # CONFIG_HIBERNATION is not set |
142 | CONFIG_SECCOMP=y | 142 | CONFIG_SECCOMP=y |
143 | CONFIG_ISA_DMA_API=y | 143 | CONFIG_ISA_DMA_API=y |
144 | 144 | ||
diff --git a/arch/ppc/configs/TQM8555_defconfig b/arch/ppc/configs/TQM8555_defconfig index 730b3db2e47a..43a0d9df1e23 100644 --- a/arch/ppc/configs/TQM8555_defconfig +++ b/arch/ppc/configs/TQM8555_defconfig | |||
@@ -138,7 +138,7 @@ CONFIG_BINFMT_ELF=y | |||
138 | # CONFIG_BINFMT_MISC is not set | 138 | # CONFIG_BINFMT_MISC is not set |
139 | # CONFIG_CMDLINE_BOOL is not set | 139 | # CONFIG_CMDLINE_BOOL is not set |
140 | # CONFIG_PM is not set | 140 | # CONFIG_PM is not set |
141 | # CONFIG_SOFTWARE_SUSPEND is not set | 141 | # CONFIG_HIBERNATION is not set |
142 | CONFIG_SECCOMP=y | 142 | CONFIG_SECCOMP=y |
143 | CONFIG_ISA_DMA_API=y | 143 | CONFIG_ISA_DMA_API=y |
144 | 144 | ||
diff --git a/arch/ppc/configs/TQM8560_defconfig b/arch/ppc/configs/TQM8560_defconfig index 1d902072825e..a814d17a2be9 100644 --- a/arch/ppc/configs/TQM8560_defconfig +++ b/arch/ppc/configs/TQM8560_defconfig | |||
@@ -137,7 +137,7 @@ CONFIG_BINFMT_ELF=y | |||
137 | # CONFIG_BINFMT_MISC is not set | 137 | # CONFIG_BINFMT_MISC is not set |
138 | # CONFIG_CMDLINE_BOOL is not set | 138 | # CONFIG_CMDLINE_BOOL is not set |
139 | # CONFIG_PM is not set | 139 | # CONFIG_PM is not set |
140 | # CONFIG_SOFTWARE_SUSPEND is not set | 140 | # CONFIG_HIBERNATION is not set |
141 | CONFIG_SECCOMP=y | 141 | CONFIG_SECCOMP=y |
142 | CONFIG_ISA_DMA_API=y | 142 | CONFIG_ISA_DMA_API=y |
143 | 143 | ||
diff --git a/arch/ppc/configs/ev64360_defconfig b/arch/ppc/configs/ev64360_defconfig index d471e578dcb5..f297c4bb632b 100644 --- a/arch/ppc/configs/ev64360_defconfig +++ b/arch/ppc/configs/ev64360_defconfig | |||
@@ -142,7 +142,7 @@ CONFIG_BINFMT_MISC=y | |||
142 | CONFIG_CMDLINE_BOOL=y | 142 | CONFIG_CMDLINE_BOOL=y |
143 | CONFIG_CMDLINE="console=ttyMM0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2" | 143 | CONFIG_CMDLINE="console=ttyMM0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2" |
144 | # CONFIG_PM is not set | 144 | # CONFIG_PM is not set |
145 | # CONFIG_SOFTWARE_SUSPEND is not set | 145 | # CONFIG_HIBERNATION is not set |
146 | CONFIG_SECCOMP=y | 146 | CONFIG_SECCOMP=y |
147 | CONFIG_ISA_DMA_API=y | 147 | CONFIG_ISA_DMA_API=y |
148 | 148 | ||
diff --git a/arch/ppc/configs/ml300_defconfig b/arch/ppc/configs/ml300_defconfig index 4a33aca948cc..69bad91a6b65 100644 --- a/arch/ppc/configs/ml300_defconfig +++ b/arch/ppc/configs/ml300_defconfig | |||
@@ -148,7 +148,7 @@ CONFIG_BINFMT_ELF=y | |||
148 | CONFIG_CMDLINE_BOOL=y | 148 | CONFIG_CMDLINE_BOOL=y |
149 | CONFIG_CMDLINE="console=ttyS0,9600" | 149 | CONFIG_CMDLINE="console=ttyS0,9600" |
150 | # CONFIG_PM is not set | 150 | # CONFIG_PM is not set |
151 | # CONFIG_SOFTWARE_SUSPEND is not set | 151 | # CONFIG_HIBERNATION is not set |
152 | CONFIG_SECCOMP=y | 152 | CONFIG_SECCOMP=y |
153 | CONFIG_ISA_DMA_API=y | 153 | CONFIG_ISA_DMA_API=y |
154 | 154 | ||
diff --git a/arch/ppc/configs/ml403_defconfig b/arch/ppc/configs/ml403_defconfig index fafd2516fa51..a78896ea4560 100644 --- a/arch/ppc/configs/ml403_defconfig +++ b/arch/ppc/configs/ml403_defconfig | |||
@@ -149,7 +149,7 @@ CONFIG_BINFMT_ELF=y | |||
149 | CONFIG_CMDLINE_BOOL=y | 149 | CONFIG_CMDLINE_BOOL=y |
150 | CONFIG_CMDLINE="console=ttyS0,9600" | 150 | CONFIG_CMDLINE="console=ttyS0,9600" |
151 | # CONFIG_PM is not set | 151 | # CONFIG_PM is not set |
152 | # CONFIG_SOFTWARE_SUSPEND is not set | 152 | # CONFIG_HIBERNATION is not set |
153 | CONFIG_SECCOMP=y | 153 | CONFIG_SECCOMP=y |
154 | CONFIG_ISA_DMA_API=y | 154 | CONFIG_ISA_DMA_API=y |
155 | 155 | ||
diff --git a/arch/ppc/configs/mpc834x_sys_defconfig b/arch/ppc/configs/mpc834x_sys_defconfig index b96a6d6dad0e..d90c8a7e060c 100644 --- a/arch/ppc/configs/mpc834x_sys_defconfig +++ b/arch/ppc/configs/mpc834x_sys_defconfig | |||
@@ -130,7 +130,7 @@ CONFIG_BINFMT_ELF=y | |||
130 | # CONFIG_BINFMT_MISC is not set | 130 | # CONFIG_BINFMT_MISC is not set |
131 | # CONFIG_CMDLINE_BOOL is not set | 131 | # CONFIG_CMDLINE_BOOL is not set |
132 | # CONFIG_PM is not set | 132 | # CONFIG_PM is not set |
133 | # CONFIG_SOFTWARE_SUSPEND is not set | 133 | # CONFIG_HIBERNATION is not set |
134 | CONFIG_SECCOMP=y | 134 | CONFIG_SECCOMP=y |
135 | CONFIG_ISA_DMA_API=y | 135 | CONFIG_ISA_DMA_API=y |
136 | 136 | ||
diff --git a/arch/ppc/configs/prep_defconfig b/arch/ppc/configs/prep_defconfig index 0aa333178b2a..b7cee2d71405 100644 --- a/arch/ppc/configs/prep_defconfig +++ b/arch/ppc/configs/prep_defconfig | |||
@@ -166,7 +166,7 @@ CONFIG_PROC_PREPRESIDUAL=y | |||
166 | CONFIG_PM=y | 166 | CONFIG_PM=y |
167 | # CONFIG_PM_LEGACY is not set | 167 | # CONFIG_PM_LEGACY is not set |
168 | # CONFIG_PM_DEBUG is not set | 168 | # CONFIG_PM_DEBUG is not set |
169 | CONFIG_SOFTWARE_SUSPEND=y | 169 | CONFIG_HIBERNATION=y |
170 | CONFIG_PM_STD_PARTITION="" | 170 | CONFIG_PM_STD_PARTITION="" |
171 | # CONFIG_SECCOMP is not set | 171 | # CONFIG_SECCOMP is not set |
172 | CONFIG_ISA_DMA_API=y | 172 | CONFIG_ISA_DMA_API=y |
diff --git a/arch/sparc64/Kconfig.debug b/arch/sparc64/Kconfig.debug index 1f130f3b6c24..a5faa3683bd6 100644 --- a/arch/sparc64/Kconfig.debug +++ b/arch/sparc64/Kconfig.debug | |||
@@ -29,7 +29,7 @@ config DEBUG_BOOTMEM | |||
29 | 29 | ||
30 | config DEBUG_PAGEALLOC | 30 | config DEBUG_PAGEALLOC |
31 | bool "Debug page memory allocations" | 31 | bool "Debug page memory allocations" |
32 | depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND | 32 | depends on DEBUG_KERNEL && !HIBERNATION |
33 | help | 33 | help |
34 | Unmap pages from the kernel linear mapping after free_pages(). | 34 | Unmap pages from the kernel linear mapping after free_pages(). |
35 | This results in a large slowdown, but helps to find certain types | 35 | This results in a large slowdown, but helps to find certain types |
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig index b7c4cd04bfc3..e64f65c9d901 100644 --- a/arch/x86_64/defconfig +++ b/arch/x86_64/defconfig | |||
@@ -199,7 +199,7 @@ CONFIG_GENERIC_PENDING_IRQ=y | |||
199 | CONFIG_PM=y | 199 | CONFIG_PM=y |
200 | # CONFIG_PM_LEGACY is not set | 200 | # CONFIG_PM_LEGACY is not set |
201 | # CONFIG_PM_DEBUG is not set | 201 | # CONFIG_PM_DEBUG is not set |
202 | CONFIG_SOFTWARE_SUSPEND=y | 202 | CONFIG_HIBERNATION=y |
203 | CONFIG_PM_STD_PARTITION="" | 203 | CONFIG_PM_STD_PARTITION="" |
204 | CONFIG_SUSPEND_SMP=y | 204 | CONFIG_SUSPEND_SMP=y |
205 | 205 | ||
diff --git a/arch/x86_64/kernel/Makefile b/arch/x86_64/kernel/Makefile index 47f1dc30bf56..d1d18c1ea0f4 100644 --- a/arch/x86_64/kernel/Makefile +++ b/arch/x86_64/kernel/Makefile | |||
@@ -26,7 +26,7 @@ obj-y += io_apic.o mpparse.o genapic.o genapic_flat.o | |||
26 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o | 26 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o crash.o |
27 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 27 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
28 | obj-$(CONFIG_PM) += suspend.o | 28 | obj-$(CONFIG_PM) += suspend.o |
29 | obj-$(CONFIG_SOFTWARE_SUSPEND) += suspend_asm.o | 29 | obj-$(CONFIG_HIBERNATION) += suspend_asm.o |
30 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ | 30 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ |
31 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | 31 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
32 | obj-$(CONFIG_IOMMU) += pci-gart.o aperture.o | 32 | obj-$(CONFIG_IOMMU) += pci-gart.o aperture.o |
diff --git a/arch/x86_64/kernel/suspend.c b/arch/x86_64/kernel/suspend.c index ea83a9f91965..573c0a6e0ac6 100644 --- a/arch/x86_64/kernel/suspend.c +++ b/arch/x86_64/kernel/suspend.c | |||
@@ -146,7 +146,7 @@ void fix_processor_context(void) | |||
146 | 146 | ||
147 | } | 147 | } |
148 | 148 | ||
149 | #ifdef CONFIG_SOFTWARE_SUSPEND | 149 | #ifdef CONFIG_HIBERNATION |
150 | /* Defined in arch/x86_64/kernel/suspend_asm.S */ | 150 | /* Defined in arch/x86_64/kernel/suspend_asm.S */ |
151 | extern int restore_image(void); | 151 | extern int restore_image(void); |
152 | 152 | ||
@@ -236,4 +236,4 @@ int pfn_is_nosave(unsigned long pfn) | |||
236 | unsigned long nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT; | 236 | unsigned long nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT; |
237 | return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn); | 237 | return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn); |
238 | } | 238 | } |
239 | #endif /* CONFIG_SOFTWARE_SUSPEND */ | 239 | #endif /* CONFIG_HIBERNATION */ |