aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2020-05-14 16:47:37 +0530
committerMichael Ellerman <[email protected]>2020-05-19 00:11:05 +1000
commite68ef121c1f4c38edf87a3354661ceb99d522729 (patch)
tree19a1a3a86436cb72a841ad52e7e43ebdcb196495 /tools/perf/scripts/python/sched-migration.py
parentc9e82aeb197df2d93b1b4234bc0c80943fa594e8 (diff)
powerpc/watchpoint: Use builtin ALIGN*() macros
Currently we calculate hw aligned start and end addresses manually. Replace them with builtin ALIGN_DOWN() and ALIGN() macros. So far end_addr was inclusive but this patch makes it exclusive (by avoiding -1) for better readability. Suggested-by: Christophe Leroy <[email protected]> Signed-off-by: Ravi Bangoria <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Michael Neuling <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions