diff options
author | 2019-08-13 16:58:36 +0100 | |
---|---|---|
committer | 2019-08-14 13:08:40 +0100 | |
commit | a5ac40f53bfa5e43d9c76e3c23415ee4afd71932 (patch) | |
tree | 7bd6af379dccf8cb0590181103bd4101fa9e11aa /scripts/gdb/linux/utils.py | |
parent | arm64: memory: Simplify virt_to_page() implementation (diff) | |
download | wireguard-linux-a5ac40f53bfa5e43d9c76e3c23415ee4afd71932.tar.xz wireguard-linux-a5ac40f53bfa5e43d9c76e3c23415ee4afd71932.zip |
arm64: memory: Simplify _VA_START and _PAGE_OFFSET definitions
Rather than subtracting from -1 and then adding 1, we can simply
subtract from 0.
Tested-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Steve Capper <steve.capper@arm.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions