aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-04-29 06:47:17 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-29 08:51:10 -0400
commit6f00cada07bb5da7f751929d3173494dcc5446cc (patch)
treefa7b03e4812a2847d54fd0443284b748f4ca0d62 /include/linux/perf_counter.h
parent095342389e2ed8deed07b3076f990260ce3c7c9f (diff)
perf_counter, x86: consistent use of type int for counter index
The type of counter index is sometimes implemented as unsigned int. This patch changes this to have a consistent usage of int. [ Impact: cleanup ] Signed-off-by: Robert Richter <robert.richter@amd.com> Cc: Paul Mackerras <paulus@samba.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1241002046-8832-21-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index c3db52dc876a..41aed4270057 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -318,7 +318,7 @@ struct hw_perf_counter {
318 unsigned long config_base; 318 unsigned long config_base;
319 unsigned long counter_base; 319 unsigned long counter_base;
320 int nmi; 320 int nmi;
321 unsigned int idx; 321 int idx;
322 }; 322 };
323 union { /* software */ 323 union { /* software */
324 atomic64_t count; 324 atomic64_t count;