[PATCH] trivial: remove warning from arch/x86/kernel/kprobes.c

From: Frank Seidel
Date: Wed Mar 25 2009 - 08:34:32 EST


From: Frank Seidel <frank@xxxxxxxxxxx>

Remove warning (makes integer from pointer without a cast)
from build messages.

Signed-off-by: Frank Seidel <frank@xxxxxxxxxxx>
---
arch/x86/kernel/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/kernel/kprobes.c
+++ b/arch/x86/kernel/kprobes.c
@@ -193,7 +193,7 @@ static int __kprobes can_boost(kprobe_op
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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/