Message ID | 20250115180251.31444-1-palmer@rivosinc.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9d87cf525fd2e1a5fcbbb40ee3df216d1d266c88 |
Headers | show |
Series | RISC-V: Mark riscv_v_init() as __init | expand |
On Wed, Jan 15, 2025 at 10:02:51AM -0800, Palmer Dabbelt wrote: > This trips up with Xtheadvector enabled, but as far as I can tell it's > just been an issue since the original patchset. > > Fixes: 7ca7a7b9b635 ("riscv: Add sysctl to set the default vector rule for new processes") > Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Tested-by: Charlie Jenkins <charlie@rivosinc.com> > --- > arch/riscv/kernel/vector.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/kernel/vector.c b/arch/riscv/kernel/vector.c > index 61ded78fcaec..aba5805119c3 100644 > --- a/arch/riscv/kernel/vector.c > +++ b/arch/riscv/kernel/vector.c > @@ -319,7 +319,7 @@ static int __init riscv_v_sysctl_init(void) > static int __init riscv_v_sysctl_init(void) { return 0; } > #endif /* ! CONFIG_SYSCTL */ > > -static int riscv_v_init(void) > +static int __init riscv_v_init(void) > { > return riscv_v_sysctl_init(); > } > -- > 2.45.2 >
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <palmer@rivosinc.com>: On Wed, 15 Jan 2025 10:02:51 -0800 you wrote: > This trips up with Xtheadvector enabled, but as far as I can tell it's > just been an issue since the original patchset. > > Fixes: 7ca7a7b9b635 ("riscv: Add sysctl to set the default vector rule for new processes") > Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> > --- > arch/riscv/kernel/vector.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Here is the summary with links: - RISC-V: Mark riscv_v_init() as __init https://git.kernel.org/riscv/c/9d87cf525fd2 You are awesome, thank you!
diff --git a/arch/riscv/kernel/vector.c b/arch/riscv/kernel/vector.c index 61ded78fcaec..aba5805119c3 100644 --- a/arch/riscv/kernel/vector.c +++ b/arch/riscv/kernel/vector.c @@ -319,7 +319,7 @@ static int __init riscv_v_sysctl_init(void) static int __init riscv_v_sysctl_init(void) { return 0; } #endif /* ! CONFIG_SYSCTL */ -static int riscv_v_init(void) +static int __init riscv_v_init(void) { return riscv_v_sysctl_init(); }
This trips up with Xtheadvector enabled, but as far as I can tell it's just been an issue since the original patchset. Fixes: 7ca7a7b9b635 ("riscv: Add sysctl to set the default vector rule for new processes") Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> --- arch/riscv/kernel/vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)