diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2021-10-22 15:06:46 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-01-05 14:46:06 +0000 |
commit | daa149dd8cd4ad8dc4f8dd47bd24f15992b3a8c1 (patch) | |
tree | 66e685bb878ee89d3be875aff736497b9be50322 /Documentation/input/devices | |
parent | 89d30b11507db7c24fe54cd4ccc498c145406028 (diff) | |
download | linux-daa149dd8cd4ad8dc4f8dd47bd24f15992b3a8c1.tar.bz2 |
arm64: Use correct method to calculate nomap region boundaries
Nomap regions are treated as "reserved". When region boundaries are not
page aligned, we usually increase the "reserved" regions rather than
decrease them. So, we should use memblock_region_reserved_base_pfn()/
memblock_region_reserved_end_pfn() instead of memblock_region_memory_
base_pfn()/memblock_region_memory_base_pfn() to calculate boundaries.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/r/20211022070646.41923-1-chenhuacai@loongson.cn
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/input/devices')
0 files changed, 0 insertions, 0 deletions