Message ID | CAKv+Gu8X22ghgvez5tTfwrm8PDzsB6xatHDs6S5_BM4YWaKgmQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index 659963d40bb4..70aa77060729 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/kernel/vmlinux.lds.S @@ -185,10 +185,18 @@ SECTIONS _data = .; _sdata = .; RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) + + .mmuoff.read : ALIGN(SZ_2K) { + *(.mmuoff.read) + } + .mmuoff.write : ALIGN(SZ_2K) { + *(.mmuoff.write) + } + PECOFF_EDATA_PADDING _edata = .; - BSS_SECTION(0, 0, 0) + BSS_SECTION(SZ_2K, SZ_2K, 0) . = ALIGN(PAGE_SIZE); idmap_pg_dir = .;