mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-01 06:21:52 -06:00
nvdimm: fix typo in nvdimm_build_nvdimm_devices argument
>From dsm_dma_arrea to dsm_dma_area. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190227075101.6263-2-richardw.yang@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
This commit is contained in:
parent
4a4f219e8a
commit
b096c11458
1 changed files with 2 additions and 2 deletions
|
@ -1260,7 +1260,7 @@ static void nvdimm_build_nvdimm_devices(Aml *root_dev, uint32_t ram_slots)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void nvdimm_build_ssdt(GArray *table_offsets, GArray *table_data,
|
static void nvdimm_build_ssdt(GArray *table_offsets, GArray *table_data,
|
||||||
BIOSLinker *linker, GArray *dsm_dma_arrea,
|
BIOSLinker *linker, GArray *dsm_dma_area,
|
||||||
uint32_t ram_slots)
|
uint32_t ram_slots)
|
||||||
{
|
{
|
||||||
Aml *ssdt, *sb_scope, *dev;
|
Aml *ssdt, *sb_scope, *dev;
|
||||||
|
@ -1307,7 +1307,7 @@ static void nvdimm_build_ssdt(GArray *table_offsets, GArray *table_data,
|
||||||
NVDIMM_ACPI_MEM_ADDR);
|
NVDIMM_ACPI_MEM_ADDR);
|
||||||
|
|
||||||
bios_linker_loader_alloc(linker,
|
bios_linker_loader_alloc(linker,
|
||||||
NVDIMM_DSM_MEM_FILE, dsm_dma_arrea,
|
NVDIMM_DSM_MEM_FILE, dsm_dma_area,
|
||||||
sizeof(NvdimmDsmIn), false /* high memory */);
|
sizeof(NvdimmDsmIn), false /* high memory */);
|
||||||
bios_linker_loader_add_pointer(linker,
|
bios_linker_loader_add_pointer(linker,
|
||||||
ACPI_BUILD_TABLE_FILE, mem_addr_offset, sizeof(uint32_t),
|
ACPI_BUILD_TABLE_FILE, mem_addr_offset, sizeof(uint32_t),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue