summaryrefslogtreecommitdiff
path: root/console.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 /console.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 'console.c')
-rw-r--r--console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/console.c b/console.c
index fa611ef..4d678b0 100644
--- a/console.c
+++ b/console.c
@@ -7,6 +7,7 @@
#include "param.h"
#include "traps.h"
#include "spinlock.h"
+#include "sleeplock.h"
#include "fs.h"
#include "file.h"
#include "memlayout.h"