aboutsummaryrefslogtreecommitdiff
path: root/include/glib-compat.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-05-06 10:26:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:49 +0200
commit99e86347fe960b95514531f84282438ae4e6ca64 (patch)
tree86b4925c59450fbcf49628cec2007b7402346f6b /include/glib-compat.h
parent5444e768ee1abe6e021bece19a9a932351f88c88 (diff)
memory: access FlatView from a local variable
We will soon require accesses to as->current_map to be placed under a lock (with reference counting so as to keep the critical section small). To simplify this change, always fetch as->current_map into a local variable and access it through that variable. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/glib-compat.h')
0 files changed, 0 insertions, 0 deletions