提交 cc30e6b9 编写于 作者: K Kefeng Wang 提交者: Catalin Marinas

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: NKefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: NMark Rutland <mark.rutland@arm.com>
Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
上级 f993318b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册