aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2021-02-01 19:06:34 +0000
committerCatalin Marinas <[email protected]>2021-02-02 17:45:09 +0000
commit22cd5edb2d9c6d68b6ac0fc9584104d88710fa57 (patch)
tree118d08967c89d3e2858310ccc53c7796ea4e6e3b /lib/mpi
parent91cb2c8b072e00632adf463b78b44f123d46a0fa (diff)
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 <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Cc: Will Deacon <[email protected]> Cc: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions