diff options
Diffstat (limited to 'arch/x86_64/kernel/suspend.c')
-rw-r--r-- | arch/x86_64/kernel/suspend.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |