aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_ppc64x.s
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-09-23 17:54:51 -0700
committerIan Lance Taylor <iant@golang.org>2016-09-24 01:39:48 +0000
commitab552aa3b69deb208b38677880e86aa41c3a9e47 (patch)
tree076f3b41a7a38d30581f206e0a90b59e32129190 /src/runtime/sys_linux_ppc64x.s
parentfd296282e0a5058351954f1a7ea2dac5ef87f052 (diff)
downloadgo-ab552aa3b69deb208b38677880e86aa41c3a9e47.tar.gz
go-ab552aa3b69deb208b38677880e86aa41c3a9e47.zip
runtime: unify some signal handling functions
Unify the OS-specific versions of msigsave, msigrestore, sigblock, updatesigmask, and unblocksig into single versions in signal_unix.go. To do this, make sigprocmask work the same way on all systems, which required adding a definition of sigprocmask for linux and openbsd. Also add a single OS-specific function sigmaskToSigset. Change-Id: I7cbf75131dddb57eeefe648ef845b0791404f785 Reviewed-on: https://go-review.googlesource.com/29689 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_ppc64x.s')
-rw-r--r--src/runtime/sys_linux_ppc64x.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_linux_ppc64x.s b/src/runtime/sys_linux_ppc64x.s
index 0afd333b36..a40fe3bc00 100644
--- a/src/runtime/sys_linux_ppc64x.s
+++ b/src/runtime/sys_linux_ppc64x.s
@@ -183,7 +183,7 @@ TEXT runtime·nanotime(SB),NOSPLIT,$16
RET
TEXT runtime·rtsigprocmask(SB),NOSPLIT|NOFRAME,$0-28
- MOVW sig+0(FP), R3
+ MOVW how+0(FP), R3
MOVD new+8(FP), R4
MOVD old+16(FP), R5
MOVW size+24(FP), R6