X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRtsStartup.c;h=87c804fd17f54498a35f75c88cbfec23071d72ce;hb=0671ef05dd65137d501cb97f0e42be3b78d4004d;hp=8e64ecb555fcbf61c4beb87f2ba25239aa25ddb7;hpb=d7dedcdbb833d692a3be48e2405d2323fa4de72a;p=ghc-hetmet.git diff --git a/ghc/rts/RtsStartup.c b/ghc/rts/RtsStartup.c index 8e64ecb..87c804f 100644 --- a/ghc/rts/RtsStartup.c +++ b/ghc/rts/RtsStartup.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsStartup.c,v 1.54 2001/10/31 10:34:29 simonmar Exp $ + * $Id: RtsStartup.c,v 1.55 2001/11/08 12:46:31 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -228,7 +228,7 @@ initModules ( void (*init_root)(void) ) #ifdef SMP Capability cap; #else -#define cap MainRegTable +#define cap MainCapability #endif init_sp = 0; @@ -239,8 +239,8 @@ initModules ( void (*init_root)(void) ) init_stack[init_sp++] = (F_)init_root; } - cap.rSp = (P_)(init_stack + init_sp); - StgRun((StgFunPtr)stg_init, &cap); + cap.r.rSp = (P_)(init_stack + init_sp); + StgRun((StgFunPtr)stg_init, &cap.r); } /* -----------------------------------------------------------------------------