projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RISC-V: Declare cpu_ops_spinwait in <asm/cpu_ops.h>
[platform/kernel/linux-starfive.git]
/
arch
/
riscv
/
include
/
asm
/
cpu_ops.h
diff --git
a/arch/riscv/include/asm/cpu_ops.h
b/arch/riscv/include/asm/cpu_ops.h
index
134590f
..
aa12846
100644
(file)
--- a/
arch/riscv/include/asm/cpu_ops.h
+++ b/
arch/riscv/include/asm/cpu_ops.h
@@
-38,6
+38,7
@@
struct cpu_operations {
#endif
};
+extern const struct cpu_operations cpu_ops_spinwait;
extern const struct cpu_operations *cpu_ops[NR_CPUS];
void __init cpu_set_ops(int cpu);