]> xenbits.xensource.com Git - xen.git/commitdiff
x86/ACPI: drop dead interpreter-related code
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Nov 2021 12:35:46 +0000 (13:35 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 29 Nov 2021 13:53:05 +0000 (13:53 +0000)
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 <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/acpi/boot.c

index b101ef096111c2e94c45f4a83e807b8d981230f9..24702d041c9c64e990f181745f980e99138e87d0 100644 (file)
@@ -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) {