lib/extable.c: use bsearch() library function in search_extable()
authorThomas Meyer <thomas@m3y3r.de>
Mon, 10 Jul 2017 22:51:58 +0000 (15:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:35 +0000 (16:32 -0700)
commita94c33dd1f677d16c4f1a162b4b3e9eba1b07c24
treec5a55e93fc355f73d614b0608dac3652b8048adf
parent12e8fd6fd380261fd200d2e8f7a519ade73ea05b
lib/extable.c: use bsearch() library function in search_extable()

[thomas@m3y3r.de: v3: fix arch specific implementations]
Link: http://lkml.kernel.org/r/1497890858.12931.7.camel@m3y3r.de
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/kernel/module.c
arch/mips/kernel/traps.c
arch/sh/mm/extable_64.c
arch/sparc/mm/extable.c
include/linux/extable.h
kernel/extable.c
kernel/module.c
lib/extable.c