diff options
author | 2024-02-08 06:08:37 +0000 | |
---|---|---|
committer | 2024-02-08 06:08:37 +0000 | |
commit | 860d7dcb20105af1fc7228a162886c421296cd86 (patch) | |
tree | b819855c890c4abdac8d9ec43204e4d2ac61458c | |
parent | Merge tag 'loongarch-fixes-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson (diff) | |
parent | riscv: Fix wrong size passed to local_flush_tlb_range_asid() (diff) | |
download | wireguard-linux-860d7dcb20105af1fc7228a162886c421296cd86.tar.xz wireguard-linux-860d7dcb20105af1fc7228a162886c421296cd86.zip |
Merge tag 'percpu-for-6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu
Pull percpu fix from Dennis Zhou:
- fix riscv wrong size passed to local_flush_tlb_range_asid()
* tag 'percpu-for-6.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu:
riscv: Fix wrong size passed to local_flush_tlb_range_asid()
Diffstat (limited to '')
-rw-r--r-- | arch/riscv/mm/tlbflush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/tlbflush.c b/arch/riscv/mm/tlbflush.c index 8d12b26f5ac3..9619965f6501 100644 --- a/arch/riscv/mm/tlbflush.c +++ b/arch/riscv/mm/tlbflush.c @@ -68,7 +68,7 @@ static inline void local_flush_tlb_range_asid(unsigned long start, void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) { - local_flush_tlb_range_asid(start, end, PAGE_SIZE, FLUSH_TLB_NO_ASID); + local_flush_tlb_range_asid(start, end - start, PAGE_SIZE, FLUSH_TLB_NO_ASID); } static void __ipi_flush_tlb_all(void *info) |