Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISC-V: Declare cpu_ops_spinwait in <asm/cpu_ops.h>
commit da6d212 upstream. The cpu_ops_spinwait is used in a couple of places in arch/riscv and is causing a sparse warning due to no declaration. Add this to <asm/cpu_ops.h> with the others to fix the following: arch/riscv/kernel/cpu_ops_spinwait.c:16:29: warning: symbol 'cpu_ops_spinwait' was not declared. Should it be static? Signed-off-by: Ben Dooks <[email protected]> Link: https://lore.kernel.org/r/[email protected] [Palmer: Drop the extern from cpu_ops.c] Fixes: 2ffc48f ("RISC-V: Move spinwait booting method to its own config") Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information