diff options
author | Laura Abbott <[email protected]> | 2017-01-10 13:35:41 -0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-01-11 13:56:49 +0000 |
commit | 2dece445b6dbdaa3d94f38ef44aa1b63bc2a6bb9 (patch) | |
tree | ec3a9b45f2541d3b7e0e371b73add340dbeae0ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fa5b6ec9e5274aeae2326e25995506a953e5f878 (diff) |
mm/cma: Cleanup highmem check
6b101e2a3ce4 ("mm/CMA: fix boot regression due to physical address of
high_memory") added checks to use __pa_nodebug on x86 since
CONFIG_DEBUG_VIRTUAL complains about high_memory not being linearlly
mapped. arm64 is now getting support for CONFIG_DEBUG_VIRTUAL as well.
Rather than add an explosion of arches to the #ifdef, switch to an
alternate method to calculate the physical start of highmem using
the page before highmem starts. This avoids the need for the #ifdef and
extra __pa_nodebug calls.
Reviewed-by: Mark Rutland <[email protected]>
Tested-by: Mark Rutland <[email protected]>
Signed-off-by: Laura Abbott <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions