[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/2] hvmloader: acpi_build_tables() can't take acpi_config as const
We'd need to update other routines' definitions. However, acpi_config is not really a const since new_vm_gid() wants to update acpi_config.vm_gid_addr. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> --- tools/firmware/hvmloader/acpi/build.c | 2 +- tools/firmware/hvmloader/acpi/libacpi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/firmware/hvmloader/acpi/build.c b/tools/firmware/hvmloader/acpi/build.c index 360dd1c..dccddff 100644 --- a/tools/firmware/hvmloader/acpi/build.c +++ b/tools/firmware/hvmloader/acpi/build.c @@ -474,7 +474,7 @@ static int new_vm_gid(struct acpi_config *config, return 1; } -void acpi_build_tables(const struct acpi_config *config) +void acpi_build_tables(struct acpi_config *config) { struct acpi_info *acpi_info; struct acpi_20_rsdp *rsdp; diff --git a/tools/firmware/hvmloader/acpi/libacpi.h b/tools/firmware/hvmloader/acpi/libacpi.h index de4470a..22fd5f6 100644 --- a/tools/firmware/hvmloader/acpi/libacpi.h +++ b/tools/firmware/hvmloader/acpi/libacpi.h @@ -60,7 +60,7 @@ struct acpi_config { unsigned int rsdp; }; -void acpi_build_tables(const struct acpi_config *config); +void acpi_build_tables(struct acpi_config *config); #endif /* __LIBACPI_H__ */ -- 1.8.3.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |