summaryrefslogtreecommitdiff
path: root/sysfile.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2016-09-11 20:59:57 -0400
committerFrans Kaashoek <[email protected]>2016-09-11 20:59:57 -0400
commitdec637bc59a23a7676f2ec0c9db10fe8122607df (patch)
tree67ce03d829e21e890a1e12e96000dea4d02afe78 /sysfile.c
parent2adb7c21dcbf50941b46f1e8d5f1b26ba86f2413 (diff)
downloadxv6-labs-dec637bc59a23a7676f2ec0c9db10fe8122607df.tar.gz
xv6-labs-dec637bc59a23a7676f2ec0c9db10fe8122607df.tar.bz2
xv6-labs-dec637bc59a23a7676f2ec0c9db10fe8122607df.zip
Replace I_BUSY with sleep locks
Diffstat (limited to 'sysfile.c')
-rw-r--r--sysfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysfile.c b/sysfile.c
index aaeccc5..98e8c43 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -11,6 +11,8 @@
#include "mmu.h"
#include "proc.h"
#include "fs.h"
+#include "spinlock.h"
+#include "sleeplock.h"
#include "file.h"
#include "fcntl.h"