From: Anthony Martin Date: Fri, 27 Jun 2014 13:36:41 +0000 (+0200) Subject: runtime: fix Plan 9 build X-Git-Tag: go1.4beta1~1209 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a6999c88455e6453964f4b3eac7c11a9febeb5c2;p=gostls13.git runtime: fix Plan 9 build LGTM=0intro, aram R=rsc, 0intro, aram CC=golang-codereviews https://golang.org/cl/109240044 --- diff --git a/src/pkg/runtime/os_plan9.c b/src/pkg/runtime/os_plan9.c index 61f315a6c6..cf3480deac 100644 --- a/src/pkg/runtime/os_plan9.c +++ b/src/pkg/runtime/os_plan9.c @@ -19,6 +19,7 @@ runtime·mpreinit(M *mp) { // Initialize stack and goroutine for note handling. mp->gsignal = runtime·malg(32*1024); + mp->gsignal->m = mp; mp->notesig = (int8*)runtime·malloc(ERRMAX*sizeof(int8)); // Initialize stack for handling strings from the