[ARM] 5565/2: Use PAGE_SIZE and RO_DATA() in link script
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 24 Jun 2009 22:38:56 +0000 (23:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Jun 2009 13:00:59 +0000 (14:00 +0100)
commitf6430a938dc6d77e33722aaf6a58382b3423935d
tree8af167b4ab98121053c21fc29a88f008e282060c
parent7aa5514e7170c6179272bc638a980adc1738fd29
[ARM] 5565/2: Use PAGE_SIZE and RO_DATA() in link script

Update the link script for ARM to use PAGE_SIZE instead of hard-
coded 4096. Also the old RODATA macro is deprecated
for the RO_DATA(PAGE_SIZE) macro. As a consequence the PAGE_SIZE
was changed from (1UL << PAGE_SHIFT) to (_AC(1,UL) << PAGE_SHIFT)
because the linker does not understand the "UL" suffix to numeric
constants.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/page.h
arch/arm/kernel/vmlinux.lds.S