diff options
author | Peter Zijlstra <[email protected]> | 2012-07-09 13:50:23 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-07-26 12:23:13 +0200 |
commit | 597ed953d7db28528b4687e46388c1aa905c14bd (patch) | |
tree | 304eebbaaeb2365ab9f101fea271c911f27d9b3a | |
parent | 74e6543fdc4e7553f572f7898ade649a09d85049 (diff) |
perf/x86: Make bitfield unsigned
Fix:
arch/x86/kernel/cpu/perf_event.h:377:43: sparse: dubious one-bit signed bitfield
Cc: Borislav Petkov <[email protected]>
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.h b/arch/x86/kernel/cpu/perf_event.h index a15df4be151f..821d53b696d1 100644 --- a/arch/x86/kernel/cpu/perf_event.h +++ b/arch/x86/kernel/cpu/perf_event.h @@ -374,7 +374,7 @@ struct x86_pmu { /* * Intel DebugStore bits */ - int bts :1, + unsigned int bts :1, bts_active :1, pebs :1, pebs_active :1, |