projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e6543
)
perf/x86: Make bitfield unsigned
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Mon, 9 Jul 2012 11:50:23 +0000
(13:50 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 26 Jul 2012 10:23:13 +0000
(12:23 +0200)
Fix:
arch/x86/kernel/cpu/perf_event.h:377:43: sparse: dubious one-bit signed bitfield
Cc: Borislav Petkov <bp@amd64.org>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/n/tip-2jxkmktkppkclj1qe6qxd7ah@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.h
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/perf_event.h
b/arch/x86/kernel/cpu/perf_event.h
index
a15df4b
..
821d53b
100644
(file)
--- 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,