Patch "RISC-V: Mark riscv_v_init() as __init" has been added to the 6.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    RISC-V: Mark riscv_v_init() as __init

to the 6.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     risc-v-mark-riscv_v_init-as-__init.patch
and it can be found in the queue-6.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 527b4668cd754bd89b650344bdd4e92ce5ee3dc2
Author: Palmer Dabbelt <palmer@xxxxxxxxxxxx>
Date:   Wed Jan 15 10:02:51 2025 -0800

    RISC-V: Mark riscv_v_init() as __init
    
    [ Upstream commit 9d87cf525fd2e1a5fcbbb40ee3df216d1d266c88 ]
    
    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")
    Reviewed-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
    Tested-by: Charlie Jenkins <charlie@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20250115180251.31444-1-palmer@xxxxxxxxxxxx
    Signed-off-by: Palmer Dabbelt <palmer@xxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/riscv/kernel/vector.c b/arch/riscv/kernel/vector.c
index 821818886fab0..39f0577f580de 100644
--- a/arch/riscv/kernel/vector.c
+++ b/arch/riscv/kernel/vector.c
@@ -309,7 +309,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();
 }




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux