From: Thomas Gleixner Date: Mon, 7 Dec 2009 11:59:46 +0000 (+0100) Subject: x86: Fix bogus warning in apic_noop.apic_write() X-Git-Tag: v2.6.33-rc1~304^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a946d8f11f0da9cfc714248036fcfd3a794d1e27;p=pandora-kernel.git x86: Fix bogus warning in apic_noop.apic_write() apic_noop is used to provide dummy apic functions. It's installed when the CPU has no APIC or when the APIC is disabled on the kernel command line. The apic_noop implementation of apic_write() warns when the CPU has an APIC or when the APIC is not disabled. That's bogus. The warning should only happen when the CPU has an APIC _AND_ the APIC is not disabled. apic_noop.apic_read() has the correct check. Signed-off-by: Thomas Gleixner Cc: Cyrill Gorcunov Cc: # in <= .32 this typo resides in native_apic_write_dummy() LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed