x86_64: use PAGE_OFFSET in dump_pagetables
authorJiri Slaby <[email protected]>
Mon, 12 May 2008 13:43:37 +0000 (15:43 +0200)
committerIngo Molnar <[email protected]>
Tue, 8 Jul 2008 06:12:06 +0000 (08:12 +0200)
Use PAGE_OFFSET macro instead of using 0xffff810000000000UL directly.

Signed-off-by: Jiri Slaby <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
arch/x86/mm/dump_pagetables.c

index 2c24bea92c669457d50c77b7752c1954e6654f11..0bb0caed8971878152ed52d26dce836637bf82f7 100644 (file)
@@ -42,7 +42,7 @@ static struct addr_marker address_markers[] = {
        { 0, "User Space" },
 #ifdef CONFIG_X86_64
        { 0x8000000000000000UL, "Kernel Space" },
-       { 0xffff810000000000UL, "Low Kernel Mapping" },
+       { PAGE_OFFSET,          "Low Kernel Mapping" },
        { VMALLOC_START,        "vmalloc() Area" },
        { VMEMMAP_START,        "Vmemmap" },
        { __START_KERNEL_map,   "High Kernel Mapping" },