diff options
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r-- | arch/x86/kernel/e820.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 303a0e48f076..51c3b186e5b9 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c | |||
@@ -714,7 +714,7 @@ void __init e820_mark_nosave_regions(unsigned long limit_pfn) | |||
714 | } | 714 | } |
715 | #endif | 715 | #endif |
716 | 716 | ||
717 | #ifdef CONFIG_HIBERNATION | 717 | #ifdef CONFIG_ACPI |
718 | /** | 718 | /** |
719 | * Mark ACPI NVS memory region, so that we can save/restore it during | 719 | * Mark ACPI NVS memory region, so that we can save/restore it during |
720 | * hibernation and the subsequent resume. | 720 | * hibernation and the subsequent resume. |
@@ -727,7 +727,7 @@ static int __init e820_mark_nvs_memory(void) | |||
727 | struct e820entry *ei = &e820.map[i]; | 727 | struct e820entry *ei = &e820.map[i]; |
728 | 728 | ||
729 | if (ei->type == E820_NVS) | 729 | if (ei->type == E820_NVS) |
730 | suspend_nvs_register(ei->addr, ei->size); | 730 | acpi_nvs_register(ei->addr, ei->size); |
731 | } | 731 | } |
732 | 732 | ||
733 | return 0; | 733 | return 0; |