summaryrefslogtreecommitdiff
path: root/ide.c
diff options
context:
space:
mode:
authorrtm <rtm>2006-07-29 09:35:02 +0000
committerrtm <rtm>2006-07-29 09:35:02 +0000
commit32630628a996e29018641af262272339ed6fef88 (patch)
tree73c9a7dee75f96c0ce0e9c804d379dd60bf254b4 /ide.c
parente46fb46fcf4302bf5ed913101c5c7b510fe03ad4 (diff)
downloadxv6-labs-32630628a996e29018641af262272339ed6fef88.tar.gz
xv6-labs-32630628a996e29018641af262272339ed6fef88.tar.bz2
xv6-labs-32630628a996e29018641af262272339ed6fef88.zip
open()
Diffstat (limited to 'ide.c')
-rw-r--r--ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide.c b/ide.c
index 88a1d4d..27a76fb 100644
--- a/ide.c
+++ b/ide.c
@@ -25,7 +25,7 @@ struct ide_request {
};
struct ide_request request[NREQUEST];
int head, tail;
-struct spinlock ide_lock;
+struct spinlock ide_lock = { "ide" };
int disk_channel;