x86, apic: Use apic noop driver
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 13 Oct 2009 20:07:04 +0000 (00:07 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Oct 2009 07:17:00 +0000 (09:17 +0200)
commita933c61829509eb27083146dda392132baa0969a
tree0300be471bbde65c40c54108423a27103b583cc2
parent9844ab11c763bfed9f054c82366b19dcda66aca9
x86, apic: Use apic noop driver

In case if apic were disabled we may use the whole apic NOOP driver
instead of sparse poking the some functions in apic driver.

Also NOOP would catch any inappropriate apic operation calls (not
just read/write).

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: yinghai@kernel.org
Cc: macro@linux-mips.org
LKML-Reference: <20091013201022.747817361@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/apic.c