diff options
author | Ian Lance Taylor <iant@golang.org> | 2016-09-26 11:35:55 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-09-26 19:33:26 +0000 |
commit | e2e11f02a4627e4090083d433e6c66602b514ab7 (patch) | |
tree | ce48475de1c5d86f95c779e4d685b450dce79d0c /src/runtime/os_linux.go | |
parent | 6bcd258095da307dc60ffe1b45b014c0be849dc9 (diff) | |
download | go-e2e11f02a4627e4090083d433e6c66602b514ab7.tar.gz go-e2e11f02a4627e4090083d433e6c66602b514ab7.zip |
runtime: unify Unix implementations of unminit
Change-Id: I2cbb13eb85876ad05a52cbd498a9b86e7a28899c
Reviewed-on: https://go-review.googlesource.com/29772
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/os_linux.go')
-rw-r--r-- | src/runtime/os_linux.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/os_linux.go b/src/runtime/os_linux.go index 92c3db8616..52b6b63868 100644 --- a/src/runtime/os_linux.go +++ b/src/runtime/os_linux.go @@ -266,9 +266,7 @@ func minit() { // Called from dropm to undo the effect of an minit. //go:nosplit func unminit() { - if getg().m.newSigstack { - signalstack(nil) - } + unminitSignals() } func memlimit() uintptr { |