diff options
author | Linus Torvalds | 2014-03-31 20:09:09 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-03-31 20:09:09 +0200 |
commit | d31605dc8a63f1df28443ddb3560b1079417af92 (patch) | |
tree | 96712adacd178fd6360c6ab8eb611aefa6df68b7 /tools/perf/util/machine.h | |
parent | Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
parent | bitops: Fix signedness of compile-time hweight implementations (diff) | |
download | kernel-qcow2-linux-d31605dc8a63f1df28443ddb3560b1079417af92.tar.gz kernel-qcow2-linux-d31605dc8a63f1df28443ddb3560b1079417af92.tar.xz kernel-qcow2-linux-d31605dc8a63f1df28443ddb3560b1079417af92.zip |
Merge branch 'core-types-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull hweight type fix from Ingo Molnar:
"This lone commit makes sure that __const_hweight8() is unsigned, which
addresses a build warning if code is built with -Wsign-compare.
I hope the type cast in this cleanup is fine - another option would be
to eliminate the double unary negation and use a construct with more
obvious integer type characteristics, along the lines of:
((w) & (1ULL << 1) ? 1U : 0U)
or so"
* 'core-types-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
bitops: Fix signedness of compile-time hweight implementations
Diffstat (limited to 'tools/perf/util/machine.h')
0 files changed, 0 insertions, 0 deletions