diff options
Diffstat (limited to 'arch/x86/kernel/check.c')
-rw-r--r-- | arch/x86/kernel/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/check.c b/arch/x86/kernel/check.c index 621cd23bb4e7..5da1269e8ddc 100644 --- a/arch/x86/kernel/check.c +++ b/arch/x86/kernel/check.c | |||
@@ -91,7 +91,7 @@ void __init setup_bios_corruption_check(void) | |||
91 | if (start >= end) | 91 | if (start >= end) |
92 | continue; | 92 | continue; |
93 | 93 | ||
94 | memblock_x86_reserve_range(start, end, "SCAN RAM"); | 94 | memblock_reserve(start, end - start); |
95 | scan_areas[num_scan_areas].addr = start; | 95 | scan_areas[num_scan_areas].addr = start; |
96 | scan_areas[num_scan_areas].size = end - start; | 96 | scan_areas[num_scan_areas].size = end - start; |
97 | 97 | ||