summaryrefslogtreecommitdiff
path: root/kernel/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/spinlock.h')
-rw-r--r--kernel/spinlock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/spinlock.h b/kernel/spinlock.h
index 4392820..5f244c9 100644
--- a/kernel/spinlock.h
+++ b/kernel/spinlock.h
@@ -5,5 +5,7 @@ struct spinlock {
// For debugging:
char *name; // Name of lock.
struct cpu *cpu; // The cpu holding the lock.
+ struct cpu *last_release;
+ uint64 last_pc;
};