summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kprobes.c
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@kernel.org>2009-03-18 17:37:45 +0530
committerIngo Molnar <mingo@elte.hu>2009-03-18 13:21:01 +0100
commitcde5edbda8ba7d600154ce4171125a48e4d2a21b (patch)
treed392744c2cb40a0333d7f0eabd2ea265031278b6 /arch/x86/kernel/kprobes.c
parent705bb9dc72b2464a7e421ee45d5e4a3f206d5c75 (diff)
downloadkernel-crypto-cde5edbda8ba7d600154ce4171125a48e4d2a21b.tar.gz
kernel-crypto-cde5edbda8ba7d600154ce4171125a48e4d2a21b.tar.xz
kernel-crypto-cde5edbda8ba7d600154ce4171125a48e4d2a21b.zip
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 <jaswinderrajput@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> LKML-Reference:<49BED952.2050809@redhat.com> LKML-Reference: <1237378065.13488.2.camel@localhost.localdomain> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/kprobes.c')
-rw-r--r--arch/x86/kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/kprobes.c b/arch/x86/kernel/kprobes.c
index 4558dd3918c..55b94614e34 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: