Files
linux/arch/x86/kernel
Cyrill Gorcunov 8576e19716 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 <mingo@elte.hu>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
CC: Lin Ming <ming.m.lin@intel.com>
CC: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20100313081116.GA5179@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-03-13 13:32:27 +01:00
..
2009-07-19 18:27:51 +02:00
2009-10-29 22:34:14 +09:00
2010-02-17 18:28:05 +01:00
2010-02-07 17:47:51 +01:00
2010-01-05 09:17:33 +09:00
2009-09-24 09:34:52 +09:30
2010-02-24 11:01:33 -08:00
2009-12-16 07:20:18 -08:00
2009-11-17 07:53:21 +01:00
2009-07-14 16:25:05 +02:00
2009-09-15 15:08:40 -04:00
2009-12-09 16:28:59 -08:00
2009-07-19 18:27:51 +02:00
2009-12-11 06:44:29 -05:00
2009-12-11 06:44:29 -05:00
2009-12-11 06:44:29 -05:00
2010-02-16 18:21:32 +01:00