diff options
author | Bharata B Rao <bharata@linux.vnet.ibm.com> | 2015-01-27 09:35:01 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-01-27 14:46:18 +0200 |
commit | 9967c94957f60c2d1cadbe0bfd4373a13fb1a226 (patch) | |
tree | e879370f9121fba989e85d64fccb0bf6d165d94e /include | |
parent | 759048ac20174b34fa7a593f4da2e7fed34e599c (diff) |
pc-dimm: Make pc_existing_dimms_capacity global
Move pc_existing_dimms_capacity() to pc-dimm.c since it would be needed
by PowerPC memory hotplug code too.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/mem/pc-dimm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/mem/pc-dimm.h b/include/hw/mem/pc-dimm.h index e1dcbbcd58..bbfa53f3a4 100644 --- a/include/hw/mem/pc-dimm.h +++ b/include/hw/mem/pc-dimm.h @@ -78,4 +78,5 @@ uint64_t pc_dimm_get_free_addr(uint64_t address_space_start, int pc_dimm_get_free_slot(const int *hint, int max_slots, Error **errp); int qmp_pc_dimm_device_list(Object *obj, void *opaque); +int pc_existing_dimms_capacity(Object *obj, void *opaque); #endif |