x86/extable: use generic search and sort routines
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 22 Mar 2016 21:28:17 +0000 (14:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commit29934b0fb8ff5afa61832ea56aec65befab30511
treec394d51226af4191107cf0aa9be5ca64ca7d49d0
parentc352e8b6de9808ec5edc792d54f8785de6626d02
x86/extable: use generic search and sort routines

Replace the arch specific versions of search_extable() and
sort_extable() with calls to the generic ones, which now support
relative exception tables as well.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/uaccess.h
arch/x86/mm/extable.c