diff options
author | Alexandre Ghiti <alexandre.ghiti@canonical.com> | 2021-11-18 16:45:39 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-06 06:22:13 +0300 |
commit | 7cc8c75b54fa6d2c0a802b915feecad3abe6ddd7 (patch) | |
tree | 6c817ec110ed1dac02002bc2a5e38dfca441af42 /drivers/zorro/zorro-driver.c | |
parent | 1f77ed9422cbc41e1a5d17654b7e527a4a23b665 (diff) | |
download | linux-7cc8c75b54fa6d2c0a802b915feecad3abe6ddd7.tar.xz |
riscv: Make vmalloc/vmemmap end equal to the start of the next region
We used to define VMALLOC_END equal to the start of the next region
*minus one* which is inconsistent with the use of this define in the
core code (for example, see the definitions of VMALLOC_TOTAL and
is_vmalloc_addr).
And then make the definition of VMEMMAP_END consistent with VMALLOC_END
and all other regions actually.
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/zorro/zorro-driver.c')
0 files changed, 0 insertions, 0 deletions