aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-05-19 18:35:43 +0100
committerAlexander Graf <agraf@suse.de>2011-06-19 04:40:04 +0200
commitcd306087e5a9ea4091071a0a41c0ea99fac60ab0 (patch)
tree8dc2867beb07778ee778d037e35ea5df7fbbc83d /exec.c
parentc13390cd384a9564e6dded127d01ef0627b6b1c5 (diff)
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 <stefano.stabellini@eu.citrix.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}