summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-05 23:59:24 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-05 23:59:24 +0000
commit7fb85cdc9a6fc602239cd89435f5e3537b19ce56 (patch)
treec02d7988f6818b91d1966d91db0773e180fb8734 /libgo
parent9d624f686e24c22d017814d492a7e6cee3cdd394 (diff)
downloadgcc-7fb85cdc9a6fc602239cd89435f5e3537b19ce56.tar.gz
PR go/56172
runtime: Fix argument passed to forcegchelper. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195774 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/mheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/mheap.c b/libgo/runtime/mheap.c
index 1b478f9ae83..6636b015d94 100644
--- a/libgo/runtime/mheap.c
+++ b/libgo/runtime/mheap.c
@@ -405,7 +405,7 @@ runtime_MHeap_Scavenger(void* dummy)
// GC blocks other goroutines via the runtime_worldsema.
runtime_noteclear(&note);
notep = &note;
- __go_go(forcegchelper, (void*)&notep);
+ __go_go(forcegchelper, (void*)notep);
runtime_entersyscall();
runtime_notesleep(&note);
runtime_exitsyscall();