summaryrefslogtreecommitdiff
path: root/rts/sm/Storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/Storage.c')
-rw-r--r--rts/sm/Storage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index c592595737..1e801b8dfc 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -109,6 +109,7 @@ Mutex sm_mutex;
static void allocNurseries (uint32_t from, uint32_t to);
static void assignNurseriesToCapabilities (uint32_t from, uint32_t to);
+static StgInd * lockCAF (StgRegTable *reg, StgIndStatic *caf);
void
initGeneration (generation *gen, int g)
@@ -510,7 +511,7 @@ void listAllBlocks (ListBlocksCb cb, void *user)
-------------------------------------------------------------------------- */
-STATIC_INLINE StgInd *
+static StgInd *
lockCAF (StgRegTable *reg, StgIndStatic *caf)
{
const StgInfoTable *orig_info;