hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/openrisc/kernel/entry.S
....@@ -173,7 +173,6 @@
173173 l.sw PT_GPR28(r1),r28 ;\
174174 l.sw PT_GPR29(r1),r29 ;\
175175 /* r30 already save */ ;\
176
-/* l.sw PT_GPR30(r1),r30*/ ;\
177176 l.sw PT_GPR31(r1),r31 ;\
178177 TRACE_IRQS_OFF_ENTRY ;\
179178 /* Store -1 in orig_gpr11 for non-syscall exceptions */ ;\
....@@ -211,9 +210,8 @@
211210 l.sw PT_GPR27(r1),r27 ;\
212211 l.sw PT_GPR28(r1),r28 ;\
213212 l.sw PT_GPR29(r1),r29 ;\
214
- /* r31 already saved */ ;\
215
- l.sw PT_GPR30(r1),r30 ;\
216
-/* l.sw PT_GPR31(r1),r31 */ ;\
213
+ /* r30 already saved */ ;\
214
+ l.sw PT_GPR31(r1),r31 ;\
217215 /* Store -1 in orig_gpr11 for non-syscall exceptions */ ;\
218216 l.addi r30,r0,-1 ;\
219217 l.sw PT_ORIG_GPR11(r1),r30 ;\