summaryrefslogtreecommitdiff
path: root/arch/riscv/mm/cacheflush.c
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2023-02-04 01:35:31 -0500
committerPalmer Dabbelt <palmer@rivosinc.com>2023-02-09 11:34:29 -0800
commiteb7423273cc9922ee2d05bf660c034d7d515bb91 (patch)
tree39b6c7b9d14edef8563ef2ef89985613bcea18f5 /arch/riscv/mm/cacheflush.c
parentcb80242cc679d6397e77d8a964deeb3ff218d2b5 (diff)
riscv: kprobe: Fixup misaligned load text
The current kprobe would cause a misaligned load for the probe point. This patch fixup it with two half-word loads instead. Fixes: c22b0bcb1dd0 ("riscv: Add kprobes supported") Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/linux-riscv/878rhig9zj.fsf@all.your.base.are.belong.to.us/ Reported-by: Bjorn Topel <bjorn.topel@gmail.com> Reviewed-by: Björn Töpel <bjorn@kernel.org> Link: https://lore.kernel.org/r/20230204063531.740220-1-guoren@kernel.org Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/mm/cacheflush.c')
0 files changed, 0 insertions, 0 deletions