diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2009-12-10 19:56:34 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-10 20:00:30 +0300 |
commit | 125580380f418000b1a06d9a54700f1191b6e561 (patch) | |
tree | 86254f20e7a7931eab94c653720cc2c0b22ffbb5 /include/linux/sched.h | |
parent | 5e855db5d8fec44e6604eb245aa9077bbd3f0d05 (diff) | |
download | linux-125580380f418000b1a06d9a54700f1191b6e561.tar.xz |
x86, perf events: Check if we have APIC enabled
Ralf Hildebrandt reported this boot warning:
| Running a vanilla 2.6.32 as Xen DomU, I'm getting:
|
| [ 0.000999] CPU: Physical Processor ID: 0
| [ 0.000999] CPU: Processor Core ID: 1
| [ 0.000999] Performance Events: AMD PMU driver.
| [ 0.000999] ------------[ cut here ]------------
| [ 0.000999] WARNING: at arch/x86/kernel/apic/apic.c:249 native_apic_write_dummy
So we need to check if APIC functionality is available, and
not just in the P6 driver but elsewhere as well.
Reported-by: Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091210165634.GF5086@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions