fix one #ifdef SMP that didn't get turned into #ifdef THREADED_RTS
authorSimon Marlow <simonmar@microsoft.com>
Tue, 7 Mar 2006 09:59:49 +0000 (09:59 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 7 Mar 2006 09:59:49 +0000 (09:59 +0000)
ghc/rts/Schedule.c

index 3f10e70..578328d 100644 (file)
@@ -616,7 +616,7 @@ run_thread:
     // be running again, see code below.
     t->saved_errno = errno;
 
     // be running again, see code below.
     t->saved_errno = errno;
 
-#ifdef SMP
+#if defined(THREADED_RTS)
     // If ret is ThreadBlocked, and this Task is bound to the TSO that
     // blocked, we are in limbo - the TSO is now owned by whatever it
     // is blocked on, and may in fact already have been woken up,
     // If ret is ThreadBlocked, and this Task is bound to the TSO that
     // blocked, we are in limbo - the TSO is now owned by whatever it
     // is blocked on, and may in fact already have been woken up,