We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a16586 commit f4ea67aCopy full SHA for f4ea67a
arch/riscv/include/asm/asm.h
@@ -91,7 +91,7 @@
91
#endif
92
93
.macro asm_per_cpu dst sym tmp
94
- REG_L \tmp, TASK_TI_CPU_NUM(tp)
+ lw \tmp, TASK_TI_CPU_NUM(tp)
95
slli \tmp, \tmp, PER_CPU_OFFSET_SHIFT
96
la \dst, __per_cpu_offset
97
add \dst, \dst, \tmp
0 commit comments