From: Peter Zijlstra Date: Mon, 9 Jul 2012 11:50:23 +0000 (+0200) Subject: perf/x86: Make bitfield unsigned X-Git-Tag: v3.6-rc1~32^2~16 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=597ed953d7db28528b4687e46388c1aa905c14bd;p=~emulex%2Finfiniband.git perf/x86: Make bitfield unsigned Fix: arch/x86/kernel/cpu/perf_event.h:377:43: sparse: dubious one-bit signed bitfield Cc: Borislav Petkov Reported-by: Fengguang Wu Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-2jxkmktkppkclj1qe6qxd7ah@git.kernel.org Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/cpu/perf_event.h b/arch/x86/kernel/cpu/perf_event.h index a15df4be151..821d53b696d 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,