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)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 19:00:55 +0000 (20:00 +0100)
commitb35f594dc7939d9be5fcae354738a419cc0c081e
tree4d52b549500221d9c3a6fffa3d13a6cdbc0aaf70
parentb357e64d1fb045568adeacc7e504788401d9db9b
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>
(cherry picked from commit 3c620626c0cd4cfca856d70a846398275b48a768)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/vmlinux.lds.S