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

[xen master] x86/ACPI: drop dead interpreter-related code



commit 6de7e460c376ce583b6b0eb4f5bb73b004d1388b
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Nov 5 13:35:46 2021 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Mon Nov 29 13:53:05 2021 +0000

    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 <jbeulich@xxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/arch/x86/acpi/boot.c | 10 ----------
 1 file changed, 10 deletions(-)

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



 


Rackspace

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