]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86, apic: Allow to use certain functions without APIC built-in support
authorCyrill Gorcunov <gorcunov@openvz.org>
Wed, 17 Mar 2010 10:37:00 +0000 (13:37 +0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Mar 2010 16:03:21 +0000 (17:03 +0100)
commitd674cd1963129b70bc5f631c51fb30fb73213fb2
treee6e0ffadf7061512a8876b372eab3cac3f88736b
parentd6d901c23a9c4c7361aa901b5b2dda69703dd5e0
x86, apic: Allow to use certain functions without APIC built-in support

In case even if the kernel is configured so that
no APIC support is built-in we still may allow
to use certain apic functions as dummy calls.

In particular we start using it in perf-events code.

Note that this is not that same as NOOP apic driver (which
is used if APIC support is present but no physical APIC is
available), this is for the case when we don't have apic code
compiled in at all.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <20100317104356.011052632@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h