setup.c (8ecba5af948cb58bf6d5eb1537c0df53cbc319c4) setup.c (6b59e366e074d3962e04f01efb8acc10a33c0e1e)
1/*
2 * Copyright (C) 1995 Linus Torvalds
3 *
4 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
5 *
6 * Memory region support
7 * David Parsons <orc@pell.chi.il.us>, July-August 1999
8 *

--- 1121 unchanged lines hidden (view full) ---

1130
1131 register_refined_jiffies(CLOCK_TICK_RATE);
1132
1133#ifdef CONFIG_EFI
1134 /* Once setup is done above, unmap the EFI memory map on
1135 * mismatched firmware/kernel archtectures since there is no
1136 * support for runtime services.
1137 */
1/*
2 * Copyright (C) 1995 Linus Torvalds
3 *
4 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
5 *
6 * Memory region support
7 * David Parsons <orc@pell.chi.il.us>, July-August 1999
8 *

--- 1121 unchanged lines hidden (view full) ---

1130
1131 register_refined_jiffies(CLOCK_TICK_RATE);
1132
1133#ifdef CONFIG_EFI
1134 /* Once setup is done above, unmap the EFI memory map on
1135 * mismatched firmware/kernel archtectures since there is no
1136 * support for runtime services.
1137 */
1138 if (efi_enabled(EFI_BOOT) &&
1139 IS_ENABLED(CONFIG_X86_64) != efi_enabled(EFI_64BIT)) {
1138 if (efi_enabled(EFI_BOOT) && !efi_is_native()) {
1140 pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
1141 efi_unmap_memmap();
1142 }
1143#endif
1144}
1145
1146#ifdef CONFIG_X86_32
1147

--- 14 unchanged lines hidden ---
1139 pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
1140 efi_unmap_memmap();
1141 }
1142#endif
1143}
1144
1145#ifdef CONFIG_X86_32
1146

--- 14 unchanged lines hidden ---