diff options
author | Rasmus Villemoes <[email protected]> | 2014-08-06 16:10:20 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-08-06 18:01:27 -0700 |
commit | c5341ec8904ebff50f365a2626da6ab525d63b9e (patch) | |
tree | 0acb8e7d30405e97097d226a8f4d558470e408fe /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 2ac521d3325a24f01c1f1e86c74537b831d282c5 (diff) |
lib: bitmap: add missing mask in bitmap_shift_right
There is no guarantee that *src does not contain garbage bits outside
the lower nbits, so we need to mask it before the shift-and-assign.
Signed-off-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions