diff options
author | Steve Capper <steve.capper@arm.com> | 2019-08-07 17:55:13 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-08-09 12:15:46 +0200 |
commit | 9cb1c5ddd2c432834dd4f40c0170d6b639e8e5c3 (patch) | |
tree | 542e9530ffca48ea725b668aba5c0541b8f9cb9b /arch/riscv/mm | |
parent | Linux 5.3-rc3 (diff) | |
download | linux-9cb1c5ddd2c432834dd4f40c0170d6b639e8e5c3.tar.xz linux-9cb1c5ddd2c432834dd4f40c0170d6b639e8e5c3.zip |
arm64: mm: Remove bit-masking optimisations for PAGE_OFFSET and VMEMMAP_START
Currently there are assumptions about the alignment of VMEMMAP_START
and PAGE_OFFSET that won't be valid after this series is applied.
These assumptions are in the form of bitwise operators being used
instead of addition and subtraction when calculating addresses.
This patch replaces these bitwise operators with addition/subtraction.
Signed-off-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/riscv/mm')
0 files changed, 0 insertions, 0 deletions