summaryrefslogtreecommitdiff
path: root/pipe.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 /pipe.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 'pipe.c')
-rw-r--r--pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pipe.c b/pipe.c
index f76ed5c..a9f471e 100644
--- a/pipe.c
+++ b/pipe.c
@@ -4,8 +4,9 @@
#include "mmu.h"
#include "proc.h"
#include "fs.h"
-#include "file.h"
#include "spinlock.h"
+#include "sleeplock.h"
+#include "file.h"
#define PIPESIZE 512