efi: Defer freeing boot services memory until after ACPI init
Some new ACPI 5.0 tables reference resources stored in boot services memory, so keep that memory around until we have ACPI and can extract data from it. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Link: http://lkml.kernel.org/r/baaa6d44bdc4eb0c58e5d1b4ccd2c729f854ac55.1348876882.git.josh@joshtriplett.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
committed by
H. Peter Anvin
parent
984ff8a4d2
commit
785107923a
@@ -631,6 +631,9 @@ asmlinkage void __init start_kernel(void)
|
||||
acpi_early_init(); /* before LAPIC and SMP init */
|
||||
sfi_init_late();
|
||||
|
||||
if (efi_enabled)
|
||||
efi_free_boot_services();
|
||||
|
||||
ftrace_init();
|
||||
|
||||
/* Do the rest non-__init'ed, we're now alive */
|
||||
|
||||
Reference in New Issue
Block a user