diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2016-01-30 15:55:21 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-02-26 18:31:41 +0000 |
commit | cc30e6b95c9a6d29f7d2083c9f64e8dec642a99e (patch) | |
tree | f1e12c93ee75ddb00d26cdf9c77b8e0dba301ef5 /arch/arm64/mm/dump.c | |
parent | f993318bfe77e7e1b572dfd963729585f3117cad (diff) | |
download | linux-cc30e6b95c9a6d29f7d2083c9f64e8dec642a99e.tar.gz linux-cc30e6b95c9a6d29f7d2083c9f64e8dec642a99e.tar.bz2 linux-cc30e6b95c9a6d29f7d2083c9f64e8dec642a99e.zip |
arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR
Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR
definition in dump.c.
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/dump.c')
-rw-r--r-- | arch/arm64/mm/dump.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm64/mm/dump.c b/arch/arm64/mm/dump.c index 6be918478f85..f9271cb2f5e3 100644 --- a/arch/arm64/mm/dump.c +++ b/arch/arm64/mm/dump.c @@ -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; |