re PR go/56172 (net FAILs on Solaris)
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Feb 2013 23:59:24 +0000 (23:59 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Feb 2013 23:59:24 +0000 (23:59 +0000)
PR go/56172
runtime: Fix argument passed to forcegchelper.

From-SVN: r195774

libgo/runtime/mheap.c

index 1b478f9ae83719eed1f698f0695ea109f002cfb0..6636b015d9490587b686d1f9ef97d554f59b1e64 100644 (file)
@@ -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();