Commit 684eb016 authored by Jiri Slaby's avatar Jiri Slaby Committed by Ingo Molnar

x86_64: use PAGE_OFFSET in dump_pagetables

Use PAGE_OFFSET macro instead of using 0xffff810000000000UL directly.
Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: hpa@zytor.com
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 6e92a5a6
...@@ -42,7 +42,7 @@ static struct addr_marker address_markers[] = { ...@@ -42,7 +42,7 @@ static struct addr_marker address_markers[] = {
{ 0, "User Space" }, { 0, "User Space" },
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
{ 0x8000000000000000UL, "Kernel Space" }, { 0x8000000000000000UL, "Kernel Space" },
{ 0xffff810000000000UL, "Low Kernel Mapping" }, { PAGE_OFFSET, "Low Kernel Mapping" },
{ VMALLOC_START, "vmalloc() Area" }, { VMALLOC_START, "vmalloc() Area" },
{ VMEMMAP_START, "Vmemmap" }, { VMEMMAP_START, "Vmemmap" },
{ __START_KERNEL_map, "High Kernel Mapping" }, { __START_KERNEL_map, "High Kernel Mapping" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment