]> xenbits.xensource.com Git - xen.git/commitdiff
libacpi: add _FADT_ to the FADT boot flags definitions
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 2 Jan 2018 12:29:24 +0000 (12:29 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 12 Jan 2018 15:40:50 +0000 (15:40 +0000)
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libacpi/acpi2_0.h
tools/libacpi/static_tables.c

index 775eb7a0b931dbe41e76fa5dbc177dfab6244a07..03c5dcb2146ab61d4c57c4e9f7eef579bc3274e6 100644 (file)
@@ -227,8 +227,8 @@ struct acpi_20_fadt {
 /*
  * FADT Boot Architecture Flags.
  */
-#define ACPI_LEGACY_DEVICES (1 << 0)
-#define ACPI_8042           (1 << 1)
+#define ACPI_FADT_LEGACY_DEVICES    (1 << 0)
+#define ACPI_FADT_8042              (1 << 1)
 
 /*
  * FADT Fixed Feature Flags.
index 617bf681e3de8dded373a7aaf739ed32d6e5132f..265915388225df47ea83ea6e4b7307351abe8c0e 100644 (file)
@@ -63,7 +63,7 @@ struct acpi_20_fadt Fadt = {
 
     .p_lvl2_lat = 0x0fff, /* >100,  means we do not support C2 state */
     .p_lvl3_lat = 0x0fff, /* >1000, means we do not support C3 state */
-    .iapc_boot_arch = ACPI_8042,
+    .iapc_boot_arch = ACPI_FADT_8042,
     .flags = (ACPI_PROC_C1 |
               ACPI_WBINVD |
               ACPI_FIX_RTC | ACPI_TMR_VAL_EXT |