[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 09/61] memory: remove unused memory_region_set_glob
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 09/61] memory: remove unused memory_region_set_global_locking() |
Date: |
Mon, 18 Dec 2017 00:27:14 +0300 |
From: Marc-André Lureau <address@hidden>
This was never used since its introduction in commit
196ea13104f8 ("memory: Add global-locking property to memory
regions").
Signed-off-by: Marc-André Lureau <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
include/exec/memory.h | 12 ------------
memory.c | 5 -----
2 files changed, 17 deletions(-)
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 5ed4042f87..a4cabdf44c 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -1241,18 +1241,6 @@ void memory_region_set_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
* not depend on the QEMU global lock.
*
diff --git a/memory.c b/memory.c
index e26e5a3b1d..4b41fb837b 100644
--- a/memory.c
+++ b/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)
{
mr->global_locking = false;
--
2.11.0
- [Qemu-trivial] [PULL 16/61] hw/registerfields: fix a typo in the FIELD() documentation, (continued)
- [Qemu-trivial] [PULL 16/61] hw/registerfields: fix a typo in the FIELD() documentation, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 20/61] MAINTAINERS: add entries for i2c/ppc4xx, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 50/61] hw/timer/i8254: rename pit_init() -> i8254_pit_init(), Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 22/61] MAINTAINERS: add an entry for the i8257 (DMA controller), Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 24/61] MAINTAINERS: add an entry for watchdog/wdt_ib700, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 60/61] i386/pc: move vmmouse.c to hw/i386/, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 45/61] hw/ipmi: remove old i386 dependency, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 27/61] MAINTAINERS: add missing entry for include/hw/net/, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 42/61] amd_iommu: avoid needless includes in header file, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 29/61] hw: remove "qemu/osdep.h" from header files, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 09/61] memory: remove unused memory_region_set_global_locking(),
Michael Tokarev <=
- [Qemu-trivial] [PULL 53/61] hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 43/61] misc: remove old i386 dependency, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 58/61] hw/misc/pvpanic: extract public API from i386/pc to "hw/misc/pvpanic.h", Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 54/61] hw/display/vga: "vga.h" only contains registers defs, rename it "vga_regs.h", Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 61/61] misc: drop old i386 dependency, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 11/61] Makefile: use $(MAKE) variable, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 32/61] misc: remove duplicated includes, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 21/61] MAINTAINERS: add an entry for the i82374 (southbridge), Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 26/61] MAINTAINERS: add entries for timer/m48t59, Michael Tokarev, 2017/12/17
- [Qemu-trivial] [PULL 03/61] disas/arm: fix 'instuction' typo in comment, Michael Tokarev, 2017/12/17