summaryrefslogtreecommitdiff
path: root/spinlock.h
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-06-11 09:57:14 -0400
committerRobert Morris <[email protected]>2019-06-11 09:57:14 -0400
commit5753553213df8f9de851adb68377db43faecb91f (patch)
tree3b629ff54897fca414146677532cb459a2ed11ba /spinlock.h
parent91ba81110acd3163f7de3580b677eece0c57f5e7 (diff)
downloadxv6-labs-5753553213df8f9de851adb68377db43faecb91f.tar.gz
xv6-labs-5753553213df8f9de851adb68377db43faecb91f.tar.bz2
xv6-labs-5753553213df8f9de851adb68377db43faecb91f.zip
separate source into kernel/ user/ mkfs/
Diffstat (limited to 'spinlock.h')
-rw-r--r--spinlock.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/spinlock.h b/spinlock.h
deleted file mode 100644
index 4392820..0000000
--- a/spinlock.h
+++ /dev/null
@@ -1,9 +0,0 @@
-// Mutual exclusion lock.
-struct spinlock {
- uint locked; // Is the lock held?
-
- // For debugging:
- char *name; // Name of lock.
- struct cpu *cpu; // The cpu holding the lock.
-};
-