kern_synch - unbreak UP build
authorAlex Hornung <ahornung@gmail.com>
Tue, 16 Mar 2010 12:46:37 +0000 (12:46 +0000)
committerAlex Hornung <ahornung@gmail.com>
Tue, 16 Mar 2010 12:52:09 +0000 (12:52 +0000)
* recent work on allowing volatile idents for tsleep and wakeup broke UP
  build.

sys/kern/kern_synch.c

index f00b227..b602831 100644 (file)
@@ -984,7 +984,7 @@ wakeup_oncpu(globaldata_t gd, const volatile void *ident)
        lwkt_send_ipiq2(gd, _wakeup, __DEALL(ident), PWAKEUP_MYCPU);
     }
 #else
-    _wakeup(ident, PWAKEUP_MYCPU);
+    _wakeup(__DEALL(ident), PWAKEUP_MYCPU);
 #endif
 }
 
@@ -1003,7 +1003,7 @@ wakeup_oncpu_one(globaldata_t gd, const volatile void *ident)
                        PWAKEUP_MYCPU | PWAKEUP_ONE);
     }
 #else
-    _wakeup(ident, PWAKEUP_MYCPU | PWAKEUP_ONE);
+    _wakeup(__DEALL(ident), PWAKEUP_MYCPU | PWAKEUP_ONE);
 #endif
 }