perf/x86: Make bitfield unsigned
Commit-ID: 597ed953d7db28528b4687e46388c1aa905c14bd Gitweb: http://git.kernel.org/tip/597ed953d7db28528b4687e46388c1aa905c14bd Author: Peter Zijlstra <[email protected]> AuthorDate: Mon, 9 Jul 2012 13:50:23 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 26 Jul 2012 12:23:13 +0200
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]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/kernel/cpu/perf_event.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/cpu/perf_event.h +1 -1
@@ -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,