From: Jan Beulich Date: Fri, 5 Nov 2021 12:35:46 +0000 (+0100) Subject: x86/ACPI: drop dead interpreter-related code X-Git-Tag: 4.17.0-rc1~1149 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6de7e460c376ce583b6b0eb4f5bb73b004d1388b;p=xen.git x86/ACPI: drop dead interpreter-related code CONFIG_ACPI_INTERPRETER does not get defined anywhere, the enclosed code wouldn't build, and the default-to-phys logic works differently anyway (see genapic/bigsmp.c:probe_bigsmp()). Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- diff --git a/xen/arch/x86/acpi/boot.c b/xen/arch/x86/acpi/boot.c index b101ef0961..24702d041c 100644 --- a/xen/arch/x86/acpi/boot.c +++ b/xen/arch/x86/acpi/boot.c @@ -477,16 +477,6 @@ static int __init acpi_parse_fadt(struct acpi_table_header *table) const struct acpi_table_fadt *fadt = container_of(table, const struct acpi_table_fadt, header); -#ifdef CONFIG_ACPI_INTERPRETER - /* initialize sci_int early for INT_SRC_OVR MADT parsing */ - acpi_fadt.sci_int = fadt->sci_int; - - /* initialize rev and apic_phys_dest_mode for x86_64 genapic */ - acpi_fadt.revision = fadt->revision; - acpi_fadt.force_apic_physical_destination_mode = - fadt->force_apic_physical_destination_mode; -#endif - /* detect the location of the ACPI PM Timer */ if (fadt->header.revision >= FADT2_REVISION_ID && fadt->xpm_timer_block.space_id == ACPI_ADR_SPACE_SYSTEM_IO) {