From: Yinghai Lu Date: Fri, 11 Jul 2008 03:36:37 +0000 (-0700) Subject: x86: reserve SLIT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f302a5bbe5eb95f3d4227d5bd0e9b92b1b125f4f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git x86: reserve SLIT save the SLIT, in case we are using fixmap to read it, and that fixmap could be cleared by others. Signed-off-by: Yinghai Lu Cc: Suresh Siddha Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/mm/srat_64.c b/arch/x86/mm/srat_64.c index 0fd67b81a8b..1b4763e26ea 100644 --- a/arch/x86/mm/srat_64.c +++ b/arch/x86/mm/srat_64.c @@ -100,7 +100,19 @@ static __init inline int srat_disabled(void) /* Callback for SLIT parsing */ void __init acpi_numa_slit_init(struct acpi_table_slit *slit) { - acpi_slit = slit; + unsigned length; + unsigned long phys; + + length = slit->header.length; + phys = find_e820_area(0, max_pfn_mapped< LAPIC mapping */