X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FSparks.c;h=ca60e1338cf9459d47abc78a2d130e61fff5e19d;hb=8b08c15b8ace5a76e341939081fbb6ad2736ddd1;hp=c7a1c9f98a8da7c148a496238c43aca17e3bfb3f;hpb=e2eebc0d70de13de6d58e2af89f90ec71e54375c;p=ghc-hetmet.git diff --git a/rts/Sparks.c b/rts/Sparks.c index c7a1c9f..ca60e13 100644 --- a/rts/Sparks.c +++ b/rts/Sparks.c @@ -8,9 +8,9 @@ #include "PosixSource.h" #include "Rts.h" +#include "Storage.h" #include "Schedule.h" #include "SchedAPI.h" -#include "Storage.h" #include "RtsFlags.h" #include "RtsUtils.h" #include "ParTicky.h" @@ -63,6 +63,11 @@ initSparkPools( void ) #endif } +void +freeSparkPool(StgSparkPool *pool) { + stgFree(pool->base); +} + /* ----------------------------------------------------------------------------- * * findSpark: find a spark on the current Capability that we can fork