X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=kernel%2Fextable.c;h=38c2412401a1b118d53d3cff92eba24753134aed;hb=9f744c59746078280ef28163aa136ef3f625804e;hp=223df4a328a49873e0c4754246f4756d1d16188b;hpb=2b976203417cf033079e0be30cae5f41d88e385e;p=karo-tx-linux.git diff --git a/kernel/extable.c b/kernel/extable.c index 223df4a328a4..38c2412401a1 100644 --- a/kernel/extable.c +++ b/kernel/extable.c @@ -55,7 +55,8 @@ const struct exception_table_entry *search_exception_tables(unsigned long addr) { const struct exception_table_entry *e; - e = search_extable(__start___ex_table, __stop___ex_table-1, addr); + e = search_extable(__start___ex_table, + __stop___ex_table - __start___ex_table, addr); if (!e) e = search_module_extables(addr); return e;