aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2009-11-11 14:05:25 +0000
committerThomas Gleixner <[email protected]>2009-11-13 20:46:23 +0100
commit23af368e9a904f59256c27d371ce223d6cee0430 (patch)
tree8d38ff75d731abc1182a331c2955b9c3c7025533 /tools/perf/scripts/python/futex-contention.py
parent3c5d92a0cfb5103c0d5ab74d4ae6373d3af38148 (diff)
clockevents: Use u32 for mult and shift factors
The mult and shift factors of clock events differ in their data type from those of clock sources for no reason. u32 is sufficient for both. shift is always <= 32 and mult is limited to 2^32-1 to avoid 64bit multiplication overflows in the conversion. Preparatory patch for a generic mult/shift factor calculation function. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Mikael Pettersson <[email protected]> Acked-by: Ralf Baechle <[email protected]> Acked-by: Linus Walleij <[email protected]> Cc: John Stultz <[email protected]> LKML-Reference: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions