aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/mheap.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-11-22 20:24:44 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-11-22 20:24:44 +0000
commit48e7d50e9f4e4d866e12383bd76a0e488eb14c54 (patch)
treef19dd9facaf8d0ad06290f19a199cc449393ffdd /libgo/runtime/mheap.c
parent2195c9beb6abfb06b7981643e2f3ea926ec0593b (diff)
downloadgcc-48e7d50e9f4e4d866e12383bd76a0e488eb14c54.zip
gcc-48e7d50e9f4e4d866e12383bd76a0e488eb14c54.tar.gz
gcc-48e7d50e9f4e4d866e12383bd76a0e488eb14c54.tar.bz2
runtime: New lock/note implementation.
From-SVN: r181633
Diffstat (limited to 'libgo/runtime/mheap.c')
-rw-r--r--libgo/runtime/mheap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgo/runtime/mheap.c b/libgo/runtime/mheap.c
index a49b405..4d02bfe 100644
--- a/libgo/runtime/mheap.c
+++ b/libgo/runtime/mheap.c
@@ -40,7 +40,6 @@ runtime_MHeap_Init(MHeap *h, void *(*alloc)(uintptr))
{
uint32 i;
- runtime_initlock(h);
runtime_FixAlloc_Init(&h->spanalloc, sizeof(MSpan), alloc, RecordSpan, h);
runtime_FixAlloc_Init(&h->cachealloc, sizeof(MCache), alloc, nil, nil);
// h->mapcache needs no init