aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Kuleshov <[email protected]>2015-11-05 18:46:35 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commit1824cb753354e026ab898cd472bddd540b50b00b (patch)
tree391aa46b768e22a3987adae91b7a4104291d34d2 /tools/perf/scripts/python
parentb0d61c7e56815b0b881c81f6779a65f4fdae4bc0 (diff)
mm/nommu: use offset_in_page macro
linux/mm.h provides offset_in_page() macro. Let's use already predefined macro instead of (addr & ~PAGE_MASK). Signed-off-by: Alexander Kuleshov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions