]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/extable.c
KVM: nVMX: do not pin the VMCS12
[karo-tx-linux.git] / kernel / extable.c
index 223df4a328a49873e0c4754246f4756d1d16188b..38c2412401a1b118d53d3cff92eba24753134aed 100644 (file)
@@ -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;