Commit eb5d732
committed
riscv: Fixup PTR_L for calling exception
Here, PTR_L should be used. The original code was correct, but it
was incorrectly changed to REG_L by commit 1f6d509828d9. Although
this did not affect the current kernel usage, it is a semantic
error that prevents my rv64ilp32 kernel from booting. So, this
patch provides the correction. The reason is improper use of
semantics: this is a pointer load, not a register load.
Fixes: 1f6d509828d9 ("riscv: Improve exception and system call latency")
Signed-off-by: Guo Ren <[email protected]>1 parent 973ac31 commit eb5d732
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments