X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FGCThread.h;h=62dd1fb73afc7e45fcea43ce6883fec3979b810a;hb=344562443cc0165c171c1bb28fb810f0513cd824;hp=7d4623251337bfdcacca5e7226fe0fb13ccfaa00;hpb=214b3663d5d7598c13643f9221e43d5a7735b47f;p=ghc-hetmet.git diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h index 7d46232..62dd1fb 100644 --- a/rts/sm/GCThread.h +++ b/rts/sm/GCThread.h @@ -16,7 +16,7 @@ #include "WSDeque.h" -BEGIN_RTS_PRIVATE +#include "BeginPrivate.h" /* ----------------------------------------------------------------------------- General scheme @@ -146,7 +146,7 @@ typedef struct gc_thread_ { // -------------------- // evacuate flags - generation *evac_gen; // Youngest generation that objects + nat evac_gen_no; // Youngest generation that objects // should be evacuated to in // evacuate(). (Logically an // argument to evacuate, but it's @@ -226,7 +226,7 @@ extern __thread gc_thread* gct; #define DECLARE_GCT __thread gc_thread* gct; -#elif defined(sparc_TARGET_ARCH) +#elif defined(sparc_HOST_ARCH) // On SPARC we can't pin gct to a register. Names like %l1 are just offsets // into the register window, which change on each function call. // @@ -276,7 +276,7 @@ extern StgWord8 the_gc_thread[]; #endif -END_RTS_PRIVATE +#include "EndPrivate.h" #endif // SM_GCTHREAD_H