aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2012-04-27 19:19:14 +0000
committerPekka Enberg <penberg@kernel.org>2012-04-27 19:19:14 +0000
commit5e166fa537797513ffcdd75a90c97f2ea033b5c8 (patch)
tree10b22fb5d77f27f94d3bfc3bc9bc8c0263fc58d2
parentc7746ccdf758547477f60a53d9118d48e71cbe4e (diff)
downloadjato-5e166fa537797513ffcdd75a90c97f2ea033b5c8.tar.gz
x86-32: Remove unneeded cast to void pointer
Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r--arch/x86/emit_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/emit_32.c b/arch/x86/emit_32.c
index 96c386fc..cf97f84b 100644
--- a/arch/x86/emit_32.c
+++ b/arch/x86/emit_32.c
@@ -1042,7 +1042,7 @@ void emit_ic_miss_handler(struct buffer *buf, void *ic_check, struct vm_method *
__emit_push_membase(buf, MACH_REG_ESP, 0);
__emit_push_imm(buf, (long)vmm);
__emit_push_reg(buf, MACH_REG_ECX);
- __emit_call(buf, (void *)resolve_ic_miss);
+ __emit_call(buf, resolve_ic_miss);
__emit_add_imm_reg(buf, 12, MACH_REG_ESP);
emit_indirect_jump_reg(buf, MACH_REG_EAX);
}