aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2009-08-18 09:32:24 +0000
committerIngo Molnar <[email protected]>2009-08-18 09:34:13 +0000
commitf738eb1b63edf664da1b4ac76895d988749b2f07 (patch)
tree77f6074359c55803850e5ced16e223087db2dccb /lib/dma-debug.c
parentperf_counter: Check task on counter read IPI (diff)
downloadkernel-f738eb1b63edf664da1b4ac76895d988749b2f07.tar.gz
kernel-f738eb1b63edf664da1b4ac76895d988749b2f07.zip
perf_counter: Fix the PARISC build
PARISC does not build: /home/mingo/tip/kernel/perf_counter.c: In function 'perf_counter_index': /home/mingo/tip/kernel/perf_counter.c:2016: error: 'PERF_COUNTER_INDEX_OFFSET' undeclared (first use in this function) /home/mingo/tip/kernel/perf_counter.c:2016: error: (Each undeclared identifier is reported only once /home/mingo/tip/kernel/perf_counter.c:2016: error: for each function it appears in.) As PERF_COUNTER_INDEX_OFFSET is not defined. Now, we could define it in the architecture - but lets also provide a core default of 0 (which happens to be what all but one architecture uses at the moment). Architectures that need a different index offset should set this value in their asm/perf_counter.h files. Cc: Kyle McMartin <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions