mirror of https://github.com/xqemu/xqemu.git
memory: remove unused memory_region_set_global_locking()
This was never used since its introduction in commit
196ea13104
("memory: Add global-locking property to memory
regions").
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
67eb7f4884
commit
e2fbe20851
|
@ -1240,18 +1240,6 @@ void memory_region_set_flush_coalesced(MemoryRegion *mr);
|
||||||
*/
|
*/
|
||||||
void memory_region_clear_flush_coalesced(MemoryRegion *mr);
|
void memory_region_clear_flush_coalesced(MemoryRegion *mr);
|
||||||
|
|
||||||
/**
|
|
||||||
* memory_region_set_global_locking: Declares the access processing requires
|
|
||||||
* QEMU's global lock.
|
|
||||||
*
|
|
||||||
* When this is invoked, accesses to the memory region will be processed while
|
|
||||||
* holding the global lock of QEMU. This is the default behavior of memory
|
|
||||||
* regions.
|
|
||||||
*
|
|
||||||
* @mr: the memory region to be updated.
|
|
||||||
*/
|
|
||||||
void memory_region_set_global_locking(MemoryRegion *mr);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* memory_region_clear_global_locking: Declares that access processing does
|
* memory_region_clear_global_locking: Declares that access processing does
|
||||||
* not depend on the QEMU global lock.
|
* not depend on the QEMU global lock.
|
||||||
|
|
5
memory.c
5
memory.c
|
@ -2189,11 +2189,6 @@ void memory_region_clear_flush_coalesced(MemoryRegion *mr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void memory_region_set_global_locking(MemoryRegion *mr)
|
|
||||||
{
|
|
||||||
mr->global_locking = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void memory_region_clear_global_locking(MemoryRegion *mr)
|
void memory_region_clear_global_locking(MemoryRegion *mr)
|
||||||
{
|
{
|
||||||
mr->global_locking = false;
|
mr->global_locking = false;
|
||||||
|
|
Loading…
Reference in New Issue