M pc/fns.h => pc/fns.h +1 -0
@@ 131,6 131,7 @@ void touser(void*);
void trapenable(int, void (*)(Ureg*, void*), void*, char*);
void trapinit(void);
int tas(void*);
+uvlong tscticks(uvlong*);
ulong umbmalloc(ulong, int, int);
void umbfree(ulong, int);
ulong umbrwmalloc(ulong, int, int);
M port/taslock.c => port/taslock.c +2 -0
@@ 182,6 182,8 @@ iunlock(Lock *l)
print("iunlock: not locked: pc %luX\n", getcallerpc(&l));
if(!l->isilock)
print("iunlock of lock: pc %lux, held by %lux\n", getcallerpc(&l), l->pc);
+ if(islo())
+ print("iunlock while lo: pc %lux, held by %lux\n", getcallerpc(&l), l->pc);
sr = l->sr;
l->key = 0;