extable: add support for relative extables to search and sort routines
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 1 Jan 2016 11:39:09 +0000 (12:39 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Feb 2016 14:57:26 +0000 (14:57 +0000)
commita272858a3c1ecd4a935ba23c66668f81214bd110
tree59815f1626801a7995784382c4485aed7c79fe98
parent7b957b6e603623ef8b2e8222fa94b976df613fa2
extable: add support for relative extables to search and sort routines

This adds support to the generic search_extable() and sort_extable()
implementations for dealing with exception table entries whose fields
contain relative offsets rather than absolute addresses.

Acked-by: Helge Deller <deller@gmx.de>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
lib/extable.c