x86, apic: Introduce the NOOP apic driver
commit9844ab11c763bfed9f054c82366b19dcda66aca9
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 13 Oct 2009 20:07:03 +0000 (14 00:07 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Oct 2009 07:17:00 +0000 (14 09:17 +0200)
tree750c241236a5bf1b743f3bffae7ffff47ff14ca9
parent80f506918fdaaca6b574ba931536a58ce015c7be
x86, apic: Introduce the NOOP apic driver

Introduce NOOP APIC driver. We should use it in case if apic was
disabled due to hardware of software/firmware problems (including
user requested to disable it case).

The driver is attempting to catch any inappropriate apic operation
call with warning issue.

Also it is possible to use some apic operation like IPI calls,
read/write without checking for apic presence which should make
callers code easier.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: yinghai@kernel.org
Cc: macro@linux-mips.org
LKML-Reference: <20091013201022.534682104@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/Makefile
arch/x86/kernel/apic/apic_noop.c [new file with mode: 0644]