arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
authorKefeng Wang <[email protected]>
Sat, 30 Jan 2016 07:55:21 +0000 (15:55 +0800)
committerCatalin Marinas <[email protected]>
Fri, 26 Feb 2016 18:31:41 +0000 (18:31 +0000)
Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR
definition in dump.c.

Signed-off-by: Kefeng Wang <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/mm/dump.c

index 6be918478f855021fee88a50fefe1b6642252c81..f9271cb2f5e3d94a620946e4e36971b33a43f390 100644 (file)
@@ -27,8 +27,6 @@
 #include <asm/pgtable.h>
 #include <asm/pgtable-hwdef.h>
 
-#define LOWEST_ADDR    (UL(0xffffffffffffffff) << VA_BITS)
-
 struct addr_marker {
        unsigned long start_address;
        const char *name;
@@ -321,7 +319,7 @@ static int ptdump_show(struct seq_file *m, void *v)
                .marker = address_markers,
        };
 
-       walk_pgd(&st, &init_mm, LOWEST_ADDR);
+       walk_pgd(&st, &init_mm, VA_START);
 
        note_page(&st, 0, 0, 0);
        return 0;