diff options
| author | Cyrill Gorcunov <[email protected]> | 2010-03-13 08:11:16 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-03-13 12:32:27 +0000 |
| commit | 8576e1971663ffdb6139041de97cdd2e1d4791cc (patch) | |
| tree | 9f4a8ec49e65c77fc2f786006bd50844946c9c4a /tools/perf/builtin-annotate.c | |
| parent | perf tools: Fix non-newt build (diff) | |
| download | kernel-8576e1971663ffdb6139041de97cdd2e1d4791cc.tar.gz kernel-8576e1971663ffdb6139041de97cdd2e1d4791cc.zip | |
x86, perf: Unmask LVTPC only if we have APIC supported
Ingo reported:
|
| There's a build failure on -tip with the P4 driver, on UP 32-bit, if
| PERF_EVENTS is enabled but UP_APIC is disabled:
|
| arch/x86/built-in.o: In function `p4_pmu_handle_irq':
| perf_event.c:(.text+0xa756): undefined reference to `apic'
| perf_event.c:(.text+0xa76e): undefined reference to `apic'
|
So we have to unmask LVTPC only if we're configured to have one.
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Cyrill Gorcunov <[email protected]>
CC: Lin Ming <[email protected]>
CC: Peter Zijlstra <[email protected]>
LKML-Reference: <20100313081116.GA5179@lenovo>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
