]> Git Repo - qemu.git/commitdiff
nvdimm acpi: rename nvdimm_dsm_reserved_root
authorXiao Guangrong <[email protected]>
Mon, 7 Nov 2016 11:13:47 +0000 (19:13 +0800)
committerMichael S. Tsirkin <[email protected]>
Tue, 15 Nov 2016 15:20:37 +0000 (17:20 +0200)
Rename it to nvdimm_dsm_handle_reserved_root_method

Suggested-by: Igor Mammedov <[email protected]>
Signed-off-by: Xiao Guangrong <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
hw/acpi/nvdimm.c

index 6f6f51fef7eb5092829304bdd9a0d0b06b86a320..6692648e7ed7cc18bb1890ffdd4d45c0a82ef823 100644 (file)
@@ -571,8 +571,9 @@ exit:
     g_free(read_fit_out);
 }
 
-static void nvdimm_dsm_reserved_root(AcpiNVDIMMState *state, NvdimmDsmIn *in,
-                                     hwaddr dsm_mem_addr)
+static void
+nvdimm_dsm_handle_reserved_root_method(AcpiNVDIMMState *state,
+                                       NvdimmDsmIn *in, hwaddr dsm_mem_addr)
 {
     switch (in->function) {
     case 0x0:
@@ -842,7 +843,7 @@ nvdimm_dsm_write(void *opaque, hwaddr addr, uint64_t val, unsigned size)
     }
 
     if (in->handle == NVDIMM_QEMU_RSVD_HANDLE_ROOT) {
-        nvdimm_dsm_reserved_root(state, in, dsm_mem_addr);
+        nvdimm_dsm_handle_reserved_root_method(state, in, dsm_mem_addr);
         goto exit;
     }
 
This page took 0.028242 seconds and 4 git commands to generate.