Skip to content

Commit

Permalink
runtime: fix runtime·raise for dragonfly amd64
Browse files Browse the repository at this point in the history
Fixes golang#11847.

Change-Id: I21736a4c6f6fb2f61aec1396ce2c965e3e329e92
Reviewed-on: https://go-review.googlesource.com/12621
Reviewed-by: Mikio Hara <[email protected]>
  • Loading branch information
ianlancetaylor committed Jul 24, 2015
1 parent 3f4d5a5 commit d9ee9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/sys_dragonfly_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ TEXT runtime·raise(SB),NOSPLIT,$16
MOVL $496, AX // lwp_gettid
SYSCALL
MOVQ $-1, DI // arg 1 - pid
MOVQ 8(SP), DI // arg 2 - tid
MOVL sig+0(FP), SI // arg 3 - signum
MOVQ AX, SI // arg 2 - tid
MOVL sig+0(FP), DX // arg 3 - signum
MOVL $497, AX // lwp_kill
SYSCALL
RET
Expand Down

0 comments on commit d9ee9a0

Please sign in to comment.