linux/arch/x86/include/asm/mach-generic
Ingo Molnar 306db03b0d x86: clean up apic->acpi_madt_oem_check methods
Impact: refactor code

x86 subarchitectures each defined a "acpi_madt_oem_check()" method,
which could be an inline function, or an extern, or a static function,
and which was also the name of a genapic field.

Untangle this namespace spaghetti by setting ->acpi_madt_oem_check()
to NULL on those subarchitectures that have no detection quirks,
and rename the other ones (summit, es7000) that do.

Also change default_acpi_madt_oem_check() to handle NULL entries,
and clean its control flow up as well.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-28 23:20:12 +01:00
..
gpio.h x86: drop double underscores from header guards 2008-10-23 00:01:39 -07:00
mach_apic.h x86: rename 'genapic' to 'apic' 2009-01-28 23:20:06 +01:00
mach_apicdef.h x86: rename 'genapic' to 'apic' 2009-01-28 23:20:06 +01:00
mach_ipi.h x86: rename 'genapic' to 'apic' 2009-01-28 23:20:06 +01:00
mach_mpparse.h x86: clean up apic->acpi_madt_oem_check methods 2009-01-28 23:20:12 +01:00
mach_mpspec.h x86: rename mp_config_table to mpc_table 2009-01-04 13:22:58 +01:00
mach_wakecpu.h x86: rename 'genapic' to 'apic' 2009-01-28 23:20:06 +01:00