]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc2a6a584f5d4964dd5172ba6f493e9d74bff61d7
tree5235278dc97c1dd4611f148ae46dafda2dc60ff6
parentd9e992d2ae695ef59bc07bebca3f4b2665d49bc0
[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