[PATCH v1] RISC-V: include cpufeature.h in cpufeature.c

Evan Green evan at rivosinc.com
Thu Apr 20 12:24:50 PDT 2023


On Thu, Apr 20, 2023 at 11:30 AM Conor Dooley <conor at kernel.org> wrote:
>
> From: Conor Dooley <conor.dooley at microchip.com>
>
> Automation complains:
> warning: symbol '__pcpu_scope_misaligned_access_speed' was not declared. Should it be static?
>
> cpufeature.c doesn't actually include the header of the same name, as it
> had not previously used anything from it.
> The per-cpu variable is declared there, so include it to silence the
> complaints.
>
> Fixes: 62a31d6e38bd ("RISC-V: hwprobe: Support probing of misaligned access performance")
> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
> ---
> CC: Evan Green <evan at rivosinc.com>
> CC: Palmer Dabbelt <palmer at dabbelt.com>
> CC: Paul Walmsley <paul.walmsley at sifive.com>
> CC: linux-riscv at lists.infradead.org
> ---
Thanks Conor!

Reviewed-by: Evan Green <evan at rivosinc.com>

ps - I'm working on that modprobe fix now, will send something shortly.



More information about the linux-riscv mailing list