aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2009-06-03 19:49:59 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-04 07:20:11 -0400
commit1b58c2515be48d5df79d20210ac5a86e30094de2 (patch)
treea4e5fee523a3ef68a85df4f4b039696a4f9772ba /arch/powerpc/kernel
parent6e53cdf11dfc8d302ebb67e7112d1baf8d7c66d4 (diff)
perf_counter: powerpc: Use new identifier names in powerpc-specific code
Commit b23f3325 ("perf_counter: Rename various fields") fixed up most of the uses of the renamed fields, but missed one instance of "record_type" in powerpc-specific code which needs to be changed to "sample_type", and a "PERF_RECORD_ADDR" in the same statement that needs to be changed to "PERF_SAMPLE_ADDR", causing compilation errors on powerpc. This fixes it. Signed-off-by: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <18983.3111.770392.800486@cargo.ozlabs.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/perf_counter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/perf_counter.c b/arch/powerpc/kernel/perf_counter.c
index 4cc4ac5c791c..232b00a36f79 100644
--- a/arch/powerpc/kernel/perf_counter.c
+++ b/arch/powerpc/kernel/perf_counter.c
@@ -1002,7 +1002,7 @@ static void record_and_restart(struct perf_counter *counter, long val,
1002 */ 1002 */
1003 if (record) { 1003 if (record) {
1004 addr = 0; 1004 addr = 0;
1005 if (counter->attr.record_type & PERF_RECORD_ADDR) { 1005 if (counter->attr.sample_type & PERF_SAMPLE_ADDR) {
1006 /* 1006 /*
1007 * The user wants a data address recorded. 1007 * The user wants a data address recorded.
1008 * If we're not doing instruction sampling, 1008 * If we're not doing instruction sampling,