From mboxrd@z Thu Jan 1 00:00:00 1970 From: mark.rutland@arm.com (Mark Rutland) Date: Mon, 1 Feb 2016 10:23:45 +0000 Subject: [PATCH] arm64: mm: dump: Use VA_START directly instead of private LOWEST_ADDR In-Reply-To: <1454140521-741-1-git-send-email-wangkefeng.wang@huawei.com> References: <1454140521-741-1-git-send-email-wangkefeng.wang@huawei.com> Message-ID: <20160201102345.GB674@leverpostej> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, Jan 30, 2016 at 03:55:21PM +0800, Kefeng Wang wrote: > Use VA_START macro in asm/memory.h instead of private LOWEST_ADDR > definition in dump.c. > > Signed-off-by: Kefeng Wang FWIW: Acked-by: Mark Rutland Mark. > --- > arch/arm64/mm/dump.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/arch/arm64/mm/dump.c b/arch/arm64/mm/dump.c > index 0adbebb..b3c62b1 100644 > --- a/arch/arm64/mm/dump.c > +++ b/arch/arm64/mm/dump.c > @@ -27,8 +27,6 @@ > #include > #include > > -#define LOWEST_ADDR (UL(0xffffffffffffffff) << VA_BITS) > - > struct addr_marker { > unsigned long start_address; > const char *name; > @@ -316,7 +314,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; > -- > 2.6.0.GIT > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >