diff options
author | 2021-02-01 19:06:34 +0000 | |
---|---|---|
committer | 2021-02-02 17:45:09 +0000 | |
commit | 22cd5edb2d9c6d68b6ac0fc9584104d88710fa57 (patch) | |
tree | 118d08967c89d3e2858310ccc53c7796ea4e6e3b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: Do not pass tagged addresses to __is_lm_address() (diff) | |
download | wireguard-linux-22cd5edb2d9c6d68b6ac0fc9584104d88710fa57.tar.xz wireguard-linux-22cd5edb2d9c6d68b6ac0fc9584104d88710fa57.zip |
arm64: Use simpler arithmetics for the linear map macros
Because of the tagged addresses, the __is_lm_address() and
__lm_to_phys() macros grew to some harder to understand bitwise
operations using PAGE_OFFSET. Since these macros only accept untagged
addresses, use a simple subtract operation.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20210201190634.22942-3-catalin.marinas@arm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions