Minor refactoring of placeHolderPunRhs
[ghc-hetmet.git] / rts / Sparks.h
index 105742f..33aa818 100644 (file)
@@ -11,9 +11,7 @@
 
 #include "WSDeque.h"
 
-#if defined(PARALLEL_HASKELL)
-#error Sparks.c using new internal structure, needs major overhaul!
-#endif
+BEGIN_RTS_PRIVATE
 
 /* typedef for SparkPool in RtsTypes.h */
 
@@ -67,4 +65,6 @@ INLINE_HEADER void discardSparks (SparkPool *pool)
 
 #endif // THREADED_RTS
 
+END_RTS_PRIVATE
+
 #endif /* SPARKS_H */