aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2018-08-17 15:45:15 -0700
committerLinus Torvalds <[email protected]>2018-08-17 16:20:28 -0700
commit10ed63415223b16d7e80ba528556500231814232 (patch)
tree22ecf348400d79f8f95beef7b6eadf8bc92a0ce4 /tools/perf/scripts/python/mem-phys-addr.py
parentb3a2369692fedcc439dfaa4f215cf5323a886c88 (diff)
mm/page_ext.c: constify lookup_page_ext() argument
lookup_page_ext() finds 'struct page_ext' for a given page. It requires only read access to the given struct page. Current implemnentation takes 'struct page *' as an argument. It makes compiler complain when 'const struct page *' passed. Change the argument to 'const struct page *'. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kirill A. Shutemov <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Vinayak Menon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions