Modified:
/trunk/src/kern/thread.c
=======================================
--- /trunk/src/kern/thread.c Mon Jan 17 22:07:34 2011
+++ /trunk/src/kern/thread.c Mon Jan 17 22:12:51 2011
@@ -449,8 +449,7 @@
// nuke motor lock
extern struct lock motor_lock;
- motor_lock.locked = 0;
- motor_lock.thread = NULL;
+ smash(&motor_lock);
#endif