aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMuchun Song <[email protected]>2019-03-30 21:13:46 +0800
committerWill Deacon <[email protected]>2019-04-01 15:35:48 +0100
commit344bf332ceb2364a2fcd3ab4133dce5ea35c2594 (patch)
tree4303cc7dbe951100ec85fb6bb07eae9a3dcaba27 /tools/perf/scripts/python/bin/stackcollapse-record
parent79a3aaa7b82e3106be97842dedfd8429248896e6 (diff)
arm64: mm: fix incorrect assignment of 'max_mapnr'
Although we don't actually make use of the 'max_mapnr' global variable, we do set it to a junk value for !CONFIG_FLATMEM configurations that leave mem_map uninitialised. To avoid somebody tripping over this in future, set 'max_mapnr' using max_pfn, which is calculated directly from the memblock information. Reviewed-by: Catalin Marinas <[email protected]> Signed-off-by: Muchun Song <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions