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