From: Roger Pau Monné Date: Wed, 7 Dec 2016 16:07:09 +0000 (+0100) Subject: libacpi: add _FADT_ to the FADT boot flags definitions X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~3244 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a900e98f1f4b2afc53832ed4be3e3bc9fb5cf596;p=xen.git libacpi: add _FADT_ to the FADT boot flags definitions Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper Reviewed-by: Wei Liu Reviewed-by: Jan Beulich --- diff --git a/tools/libacpi/acpi2_0.h b/tools/libacpi/acpi2_0.h index 775eb7a0b9..03c5dcb214 100644 --- a/tools/libacpi/acpi2_0.h +++ b/tools/libacpi/acpi2_0.h @@ -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. diff --git a/tools/libacpi/static_tables.c b/tools/libacpi/static_tables.c index 617bf681e3..2659153882 100644 --- a/tools/libacpi/static_tables.c +++ b/tools/libacpi/static_tables.c @@ -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 |