summaryrefslogtreecommitdiff
path: root/libgo/runtime/proc.c
blob: 191fac613c80405d46e2d9b6dbee4218a6d1abf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#include "runtime.h"
#include "malloc.h"	/* so that acid generated from proc.c includes malloc data structures */

typedef struct Sched Sched;

M	m0;

#ifdef __rtems__
#define __thread
#endif

__thread M *m = &m0;