From: Ingo Molnar Date: Wed, 28 Jan 2009 02:43:47 +0000 (+0100) Subject: x86: clean up apic->acpi_madt_oem_check methods X-Git-Tag: v2.6.30-rc1~211^2~26^2~2^2~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=306db03b0d71bf9c94155c0c4771a79fc70b4b27;p=pandora-kernel.git 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 --- Reading git-diff-tree failed