mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
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:
parent
984ff8a4d2
commit
785107923a
3 changed files with 26 additions and 13 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue