public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
From: Charlie Jenkins <charlie@rivosinc.com>
To: Palmer Dabbelt <palmer@rivosinc.com>
Cc: linux-riscv@lists.infradead.org
Subject: Re: [PATCH] RISC-V: Mark riscv_v_init() as __init
Date: Wed, 15 Jan 2025 11:20:24 -0800	[thread overview]
Message-ID: <Z4gKeLnO7nWyYM3a@ghost> (raw)
In-Reply-To: <20250115180251.31444-1-palmer@rivosinc.com>

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
> 

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2025-01-15 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-15 18:02 [PATCH] RISC-V: Mark riscv_v_init() as __init Palmer Dabbelt
2025-01-15 19:20 ` Charlie Jenkins [this message]
2025-01-30 14:10 ` patchwork-bot+linux-riscv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z4gKeLnO7nWyYM3a@ghost \
    --to=charlie@rivosinc.com \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@rivosinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox