From: Jaswinder Singh Rajput Date: Wed, 18 Mar 2009 12:07:45 +0000 (+0530) Subject: x86: kprobes.c fix compilation warning X-Git-Tag: 2.1b_release~12498^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cde5edbda8ba7d600154ce4171125a48e4d2a21b;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git x86: kprobes.c fix compilation warning arch/x86/kernel/kprobes.c:196: warning: passing argument 1 of ‘search_exception_tables’ makes integer from pointer without a cast Signed-off-by: Jaswinder Singh Rajput Cc: Linus Torvalds LKML-Reference:<49BED952.2050809@redhat.com> LKML-Reference: <1237378065.13488.2.camel@localhost.localdomain> Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c index 4558dd3..55b9461 100644 --- a/arch/x86/kernel/kprobes.c +++ b/arch/x86/kernel/kprobes.c @@ -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: