diff options
author | Baoquan He <[email protected]> | 2017-10-28 09:30:38 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-10-30 10:30:23 +0100 |
commit | 15670bfe19905b1dcbb63137f40d718b59d84479 (patch) | |
tree | e7f94bdf29098796ff8704f3147c28fc96fe8c81 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | e17bae3266cc3d828003bdf78b5aa019db3ffa95 (diff) |
x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages'
register_page_bootmem_memmap()'s 3rd 'size' parameter is named
in a somewhat misleading fashion - rename it to 'nr_pages' which
makes the units of it much clearer.
Meanwhile rename the existing local variable 'nr_pages' to
'nr_pmd_pages', a more expressive name, to avoid conflict with
new function parameter 'nr_pages'.
(Also clean up the unnecessary parentheses in which get_order() is called.)
Signed-off-by: Baoquan He <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions