diff options
author | Ravi Bangoria <[email protected]> | 2020-05-14 16:47:37 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-05-19 00:11:05 +1000 |
commit | e68ef121c1f4c38edf87a3354661ceb99d522729 (patch) | |
tree | 19a1a3a86436cb72a841ad52e7e43ebdcb196495 /tools/perf/scripts/python/sched-migration.py | |
parent | c9e82aeb197df2d93b1b4234bc0c80943fa594e8 (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