diff options
author | rtm <rtm> | 2006-08-29 19:06:37 +0000 |
---|---|---|
committer | rtm <rtm> | 2006-08-29 19:06:37 +0000 |
commit | dfcc5b997ce9c313b9ac0e7d8da39c4416b472a8 (patch) | |
tree | 2d6c4e47bad6cfe7436896068a5872ace545a974 /spinlock.c | |
parent | d7ce6545e7179e9a4b950838c354b485e3f3fdb8 (diff) | |
download | xv6-labs-dfcc5b997ce9c313b9ac0e7d8da39c4416b472a8.tar.gz xv6-labs-dfcc5b997ce9c313b9ac0e7d8da39c4416b472a8.tar.bz2 xv6-labs-dfcc5b997ce9c313b9ac0e7d8da39c4416b472a8.zip |
prune unneeded panics and debug output
Diffstat (limited to 'spinlock.c')
-rw-r--r-- | spinlock.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -43,7 +43,6 @@ acquire(struct spinlock * lock) cpuid(0, 0, 0, 0, 0); // memory barrier getcallerpcs(&lock, lock->pcs); lock->cpu = cpu() + 10; - cpus[cpu()].lastacquire = lock; } void @@ -53,7 +52,6 @@ release(struct spinlock * lock) if(!holding(lock)) panic("release"); - cpus[cpu()].lastrelease = lock; lock->pcs[0] = 0; lock->cpu = 0xffffffff; cpuid(0, 0, 0, 0, 0); // memory barrier |