arm64: use generic RW_DATA_SECTION macro in linker script
authorMark Salter <msalter@redhat.com>
Mon, 4 Nov 2013 16:38:47 +0000 (16:38 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 4 Nov 2013 18:17:25 +0000 (18:17 +0000)
commit3c620626c0cd4cfca856d70a846398275b48a768
tree4b1b3a84fbcba11ad6604fa68b469925510a907a
parent264666e62848c19ba9252c80e895ffec9ad1d391
arm64: use generic RW_DATA_SECTION macro in linker script

The .data section in the arm64 linker script currently lacks a
definition for page-aligned data. This leads to a .page_aligned
section being placed between the end of data and start of bss.
This patch corrects that by using the generic RW_DATA_SECTION
macro which includes support for page-aligned data.

Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/vmlinux.lds.S