From 579a97f7ff4c0f958a5d8adcba717a205bb58567 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 11 Nov 2007 14:26:47 +0000 Subject: Linux user memory access API change (initial patch by Thayne Harbaugh) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3583 c046a42c-6fe2-441c-8c8c-71466251a162 --- softmmu-semi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'softmmu-semi.h') diff --git a/softmmu-semi.h b/softmmu-semi.h index 13c528b..527943a 100644 --- a/softmmu-semi.h +++ b/softmmu-semi.h @@ -41,7 +41,7 @@ static void *softmmu_lock_user(CPUState *env, uint32_t addr, uint32_t len, cpu_memory_rw_debug(env, addr, p, len, 0); return p; } -#define lock_user(p, len, copy) softmmu_lock_user(env, p, len, copy) +#define lock_user(type, p, len, copy) softmmu_lock_user(env, p, len, copy) static char *softmmu_lock_user_string(CPUState *env, uint32_t addr) { char *p; -- cgit v1.1