summaryrefslogtreecommitdiff
path: root/src/runtime/os1_plan9.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-10-21 18:36:05 -0700
committerMatthew Dempsky <mdempsky@google.com>2015-11-13 02:58:12 +0000
commitec9aae772c6da242fd0c1ef2d71ddb5c139d8f61 (patch)
tree1b7087961870a9f27a7dc9b5dc936438a101b4d8 /src/runtime/os1_plan9.go
parentd42cc10283b611eb6799a3d46593777dc2174f34 (diff)
downloadgo-git-ec9aae772c6da242fd0c1ef2d71ddb5c139d8f61.tar.gz
runtime: move m's OS-specific semaphore fields into mOS
Allows removing fields that aren't relevant to a particular OS or changing their types to match the underlying OS system calls they'll be used for. Change-Id: I5cea89ee77b4e7b985bff41337e561887c3272ff Reviewed-on: https://go-review.googlesource.com/16176 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/runtime/os1_plan9.go')
-rw-r--r--src/runtime/os1_plan9.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/os1_plan9.go b/src/runtime/os1_plan9.go
index 07ad498fbc..bc7ce65daf 100644
--- a/src/runtime/os1_plan9.go
+++ b/src/runtime/os1_plan9.go
@@ -205,8 +205,7 @@ func newosproc(mp *m, stk unsafe.Pointer) {
}
//go:nosplit
-func semacreate() uintptr {
- return 1
+func semacreate(mp *m) {
}
//go:nosplit