aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-voyager
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mach-voyager')
-rw-r--r--arch/x86/mach-voyager/setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/mach-voyager/setup.c b/arch/x86/mach-voyager/setup.c
index 5ae5466b9eb9..662b5c0a77d6 100644
--- a/arch/x86/mach-voyager/setup.c
+++ b/arch/x86/mach-voyager/setup.c
@@ -111,7 +111,9 @@ char *__init machine_specific_memory_setup(void)
111 * Otherwise fake a memory map; one section from 0k->640k, 111 * Otherwise fake a memory map; one section from 0k->640k,
112 * the next section from 1mb->appropriate_mem_k 112 * the next section from 1mb->appropriate_mem_k
113 */ 113 */
114 sanitize_e820_map(boot_params.e820_map, &boot_params.e820_entries); 114 sanitize_e820_map(boot_params.e820_map,
115 ARRAY_SIZE(boot_params.e820_map),
116 &boot_params.e820_entries);
115 if (copy_e820_map(boot_params.e820_map, boot_params.e820_entries) 117 if (copy_e820_map(boot_params.e820_map, boot_params.e820_entries)
116 < 0) { 118 < 0) {
117 unsigned long mem_size; 119 unsigned long mem_size;