Explorar o código

x86: sort address_markers for dump_pagetables

otherwise Vmemmap and High Kernel Mapping string is not showing up.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Yinghai Lu %!s(int64=17) %!d(string=hai) anos
pai
achega
9a79cf9c1a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      arch/x86/mm/dump_pagetables.c

+ 2 - 2
arch/x86/mm/dump_pagetables.c

@@ -44,10 +44,10 @@ static struct addr_marker address_markers[] = {
 	{ 0x8000000000000000UL, "Kernel Space" },
 	{ 0xffff810000000000UL, "Low Kernel Mapping" },
 	{ VMALLOC_START,        "vmalloc() Area" },
-	{ MODULES_VADDR,        "Modules" },
-	{ MODULES_END,          "End Modules" },
 	{ VMEMMAP_START,        "Vmemmap" },
 	{ __START_KERNEL_map,   "High Kernel Mapping" },
+	{ MODULES_VADDR,        "Modules" },
+	{ MODULES_END,          "End Modules" },
 #else
 	{ PAGE_OFFSET,          "Kernel Mapping" },
 	{ 0/* VMALLOC_START */, "vmalloc() Area" },