mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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>
This commit is contained in:
parent
095342389e
commit
6f00cada07
2 changed files with 5 additions and 5 deletions
|
|
@ -318,7 +318,7 @@ struct hw_perf_counter {
|
|||
unsigned long config_base;
|
||||
unsigned long counter_base;
|
||||
int nmi;
|
||||
unsigned int idx;
|
||||
int idx;
|
||||
};
|
||||
union { /* software */
|
||||
atomic64_t count;
|
||||
|
|
|
|||
Loading…
Reference in a new issue