ARM: 8219/1: handle interworking and out-of-range relocations separately
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 24 Nov 2014 15:45:12 +0000 (16:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Feb 2015 14:43:58 +0000 (14:43 +0000)
commit2b8514d0a792857b0826fe6b7c3b941cdb59a9c3
tree2816476662440ce74a7d8336692dca8748746de3
parentc517d838eb7d07bbe9507871fab3931deccff539
ARM: 8219/1: handle interworking and out-of-range relocations separately

Currently, interworking calls on module boundaries are not supported,
and are handled by the same error handling code path as non-interworking
calls whose targets are simply out of range.

Before modifying the handling of those out-of-range jump and call
relocations in a subsequent patch, move the handling of interworking
restrictions out of it.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/module.c