/* * Configure the processor info using MADT in the ACPI tables. If we fail to * configure that, then we use the MPS tables. */ void __init acpi_boot_init(void) { memset(&acpi_boot_ops, 0, sizeof(acpi_boot_ops)); acpi_boot_ops[ACPI_APIC] = acpi_parse_madt; /* * Only do this when requested, either because of CPU/Bios type or from the command line */ if (!acpi_tables_init()) acpi_lapic = 1; }
/* * Configure the processor info using MADT in the ACPI tables. If we fail to * configure that, then we use the MPS tables. */ void __init config_acpi_tables(void) { memset(&acpi_boot_ops, 0, sizeof(acpi_boot_ops)); acpi_boot_ops[ACPI_APIC] = acpi_parse_madt; /* * Only do this when requested, either because of CPU/Bios type or from the command line */ if (enable_acpi_smp_table && !acpi_tables_init()) { have_acpi_tables = 1; printk("Enabling the CPU's according to the ACPI table\n"); } }