From cd306087e5a9ea4091071a0a41c0ea99fac60ab0 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Thu, 19 May 2011 18:35:43 +0100 Subject: xen: remove qemu_map_cache_unlock There is no need for qemu_map_cache_unlock, just use qemu_invalidate_entry instead. Signed-off-by: Stefano Stabellini Signed-off-by: Alexander Graf --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exec.c') diff --git a/exec.c b/exec.c index 09928a3b37..01f33bb2bc 100644 --- a/exec.c +++ b/exec.c @@ -3146,7 +3146,7 @@ void qemu_put_ram_ptr(void *addr) xen_unmap_block(block->host, block->length); block->host = NULL; } else { - qemu_map_cache_unlock(addr); + qemu_invalidate_entry(addr); } } } -- cgit v1.2.3