[ARM] Fix ARM branch relocation range
authorKevin Welton <Kevin.Welton@arm.com>
Tue, 8 May 2007 21:05:25 +0000 (22:05 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 8 May 2007 21:05:25 +0000 (22:05 +0100)
commitc5f125031f416ba6350e84462e9039737b6e2bab
tree5235278dc97c1dd4611f148ae46dafda2dc60ff6
parent8678c1f04277daaa914abb107fb9fe71298d916d
[ARM] Fix ARM branch relocation range

Branches in the ARM architecture are restricted to a range of +/- 32MB.
However, the code in .../arch/arm/kernel/module.c::apply_relocate() was
checking offset against a range of +/- 64MB.

Signed-off-by: Kevin Welton <Kevin.Welton@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/module.c