aboutsummaryrefslogtreecommitdiff
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-12-07 12:59:46 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-18 14:04:28 -0800
commitb3e1b060b2a4079723332d9d98a5891d670b9f8e (patch)
tree3685bfc4c9384d8dee6d25eb9331776469329a64 /mm/mincore.c
parent7fd943643cc5aef6546ca3d8914e01d4298ee769 (diff)
x86: Fix bogus warning in apic_noop.apic_write()
commit a946d8f11f0da9cfc714248036fcfd3a794d1e27 upstream. 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 <tglx@linutronix.de> Cc: Cyrill Gorcunov <gorcunov@openvz.org> LKML-Reference: <alpine.LFD.2.00.0912071255420.3089@localhost.localdomain> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions