amd-iommu: add function to flush tlb for all domains
[safe/jmp/linux-2.6] / arch / x86 / kernel / kprobes.c
index 759095d..7b5169d 100644 (file)
@@ -193,7 +193,7 @@ static int __kprobes can_boost(kprobe_opcode_t *opcodes)
        kprobe_opcode_t opcode;
        kprobe_opcode_t *orig_opcodes = opcodes;
 
-       if (search_exception_tables(opcodes))
+       if (search_exception_tables((unsigned long)opcodes))
                return 0;       /* Page fault may occur on this address. */
 
 retry: