summaryrefslogtreecommitdiff
path: root/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'spinlock.h')
-rw-r--r--spinlock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/spinlock.h b/spinlock.h
index f866b4c..f124f15 100644
--- a/spinlock.h
+++ b/spinlock.h
@@ -1,6 +1,7 @@
struct spinlock {
+ uint magic;
char *name;
uint locked;
- uint pcs[10];
int cpu;
+ uint pcs[10];
};