ARM: 7137/1: Fix error upon adding LL debug
authorAfzal Mohammed <afzal@ti.com>
Thu, 20 Oct 2011 18:32:07 +0000 (19:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 20 Oct 2011 21:03:57 +0000 (22:03 +0100)
commitb55fa18817743c3c4aef14f0c6fc0e21d7bc1e62
tree13f32c0c822db2e6b763c4e3272aadef5999951b
parent628e1110feebeb834359fd6f44ec7e346bdf9611
ARM: 7137/1: Fix error upon adding LL debug

Upon adding new board LL debug support, if the resultant code
addition would not cause PC relative offset of "hexbuf" from
"adr r2, hexbuf" (+2) instruction to be representable in a
shifted 8-bit value (hence indirectly putting higher aligment
requirement on larger offsets), following error occurs,

arch/arm/kernel/debug.S: Assembler messages:
arch/arm/kernel/debug.S:138: Error: invalid constant (428) after fixup

Fix it by bringing "hexbuf" closer so that "adr"
can have the offset.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/debug.S