Skip to content
Commit 7a4cf25d authored by Chen Lu's avatar Chen Lu Committed by Greg Kroah-Hartman
Browse files

riscv: fix misalgned trap vector base address

commit 64a19591

 upstream.

The trap vector marked by label .Lsecondary_park must align on a
4-byte boundary, as the {m,s}tvec is defined to require 4-byte
alignment.

Signed-off-by: default avatarChen Lu <181250012@smail.nju.edu.cn>
Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
Fixes: e011995e

 ("RISC-V: Move relocate and few other functions out of __init")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent acb8832f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment