diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-08-14 23:55:03 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-18 12:06:21 +0200 |
commit | 5d546d4b65a3751172286e299528de15c5f05576 (patch) | |
tree | c989f9b68198362d16d229e5e41f72528d743286 /include/exec | |
parent | 83234bf2fa4b28feb2accee823c56f2188eed48c (diff) | |
download | hqemu-5d546d4b65a3751172286e299528de15c5f05576.zip hqemu-5d546d4b65a3751172286e299528de15c5f05576.tar.gz |
memory: constify memory_region_name
It doesn't change the MR and some prospective call sites will have
const MRs at hand.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
-rw-r--r-- | include/exec/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h index 5bd10d1..d165b27 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -511,7 +511,7 @@ void memory_region_unregister_iommu_notifier(Notifier *n); * * @mr: the memory region being queried */ -const char *memory_region_name(MemoryRegion *mr); +const char *memory_region_name(const MemoryRegion *mr); /** * memory_region_is_logging: return whether a memory region is logging writes |