summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPratyush Anand <panand@redhat.com>2016-05-30 13:32:21 +0530
committerAtsushi Kumagai <ats-kumagai@wm.jp.nec.com>2016-11-17 10:15:01 +0900
commita4335c6220eb92f5d3c0d7990fc9e56c0c8f3cbc (patch)
tree2fe56e86597210795f159efa34329bfb2366a285 /arch
parent48581a70f10c618a6fa240be67df8e844308f343 (diff)
[PATCH 05/10] arm64: fix page_offset definition
arch/arm64/include/asm/memory.h defines PAGE_OFFSET as follows: #define PAGE_OFFSET (UL(0xffffffffffffffff) << (VA_BITS - 1)) Use same definition in makedumpfile as well. Signed-off-by: Pratyush Anand <panand@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm64.c b/arch/arm64.c
index c73efa1..ce58694 100644
--- a/arch/arm64.c
+++ b/arch/arm64.c
@@ -203,8 +203,7 @@ get_machdep_info_arm64(void)
{
info->max_physmem_bits = PHYS_MASK_SHIFT;
info->section_size_bits = SECTIONS_SIZE_BITS;
- info->page_offset = SYMBOL(_stext)
- & (0xffffffffffffffffUL << (VA_BITS - 1));
+ info->page_offset = 0xffffffffffffffffUL << (VA_BITS - 1);
info->vmalloc_start = 0xffffffffffffffffUL << VA_BITS;
info->vmalloc_end = PAGE_OFFSET - PUD_SIZE - VMEMMAP_SIZE - 0x10000;
info->vmemmap_start = VMALLOC_END + 0x10000;