[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] hvmloader: acpi_build_tables() can't take acpi_config as const



commit 9b3f9b9c30f8dc121fe1bbf915a31e46cb926e83
Author:     Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
AuthorDate: Wed Aug 10 11:58:34 2016 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Aug 10 11:58:34 2016 +0200

    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__ */
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.