]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: Remove the PER_CPU_OFFSET_SHIFT macro
authorSamuel Holland <samuel.holland@sifive.com>
Wed, 15 Oct 2025 22:56:00 +0000 (15:56 -0700)
committerPaul Walmsley <pjw@kernel.org>
Sat, 18 Oct 2025 04:00:29 +0000 (22:00 -0600)
commit768e054de01bef8701c24ec49309e57e0167af44
treefaebda37fbfd0fe69312f96240f96261bcfce8cc
parent5898fc01ff344075e4332aa9abeb0841c85e7e51
riscv: Remove the PER_CPU_OFFSET_SHIFT macro

__per_cpu_offset is an array of unsigned long, so we can reuse the
existing RISCV_LGPTR macro.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20251015225604.3860409-1-samuel.holland@sifive.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/include/asm/asm.h