summaryrefslogtreecommitdiff
path: root/rts/sm/GCUtils.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 23:22:32 +0000
committerSimon Marlow <simonmarhaskell@gmail.com>2008-04-16 23:22:32 +0000
commitf86e7206ea94b48b94fb61007a1c5d55b8c60f45 (patch)
treef3253ca0a19d51197b252c8a5003620dec42b94f /rts/sm/GCUtils.h
parentae267d04df855051b99218e3712b3f56b8016d56 (diff)
downloadhaskell-f86e7206ea94b48b94fb61007a1c5d55b8c60f45.tar.gz
Reorganisation to fix problems related to the gct register variable
- GCAux.c contains code not compiled with the gct register enabled, it is callable from outside the GC - marking functions are moved to their relevant subsystems, outside the GC - mark_root needs to save the gct register, as it is called from outside the GC
Diffstat (limited to 'rts/sm/GCUtils.h')
-rw-r--r--rts/sm/GCUtils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/sm/GCUtils.h b/rts/sm/GCUtils.h
index 34657c23d3..249e0cf616 100644
--- a/rts/sm/GCUtils.h
+++ b/rts/sm/GCUtils.h
@@ -13,10 +13,6 @@
#include "SMP.h"
-#ifdef THREADED_RTS
-extern SpinLock gc_alloc_block_sync;
-#endif
-
bdescr *allocBlock_sync(void);
void freeChain_sync(bdescr *bd);