diff options
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 |