Skip to content

Commit d3bb36e

Browse files
committed
fix partial modification of WakeG timer value
1 parent 32c1a01 commit d3bb36e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/runtime/sys_tamago_arm.s

+2
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ TEXT runtime·WakeG(SB),NOSPLIT|NOFRAME,$0-0
163163
// g->m->p.timerModifiedEarliest = 1
164164
MOVW $1, R2
165165
MOVW R2, (p_timerModifiedEarliest)(R1)
166+
MOVW $0, R2
167+
MOVW R2, (p_timerModifiedEarliest+4)(R1)
166168
done:
167169
RET
168170

0 commit comments

Comments
 (0)