diff options
Diffstat (limited to 'libgo/runtime/proc.c')
-rw-r--r-- | libgo/runtime/proc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 8af6935..e9b7c90 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -8,13 +8,15 @@ typedef struct Sched Sched; -M m0; +G runtime_g0; +M runtime_m0; #ifdef __rtems__ #define __thread #endif -__thread M *m = &m0; +__thread G *g; +__thread M *m; static struct { Lock; |