blob: 2631f8172f75547260c844ec215e90e28584ee74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#DPATCHLEVEL=0
2005-12-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386/iopb.c (i386_io_port_remove): Fix unlocking when io mapping
is not found.
Index: i386/i386/iopb.c
===================================================================
--- i386/i386/iopb.c.orig 2006-11-14 03:58:56.000000000 +0200
+++ i386/i386/iopb.c 2006-11-14 04:15:49.000000000 +0200
@@ -471,6 +471,10 @@ i386_io_port_remove(thread, device)
/*
* No mapping.
*/
+
+ simple_unlock(&pcb->lock);
+ simple_unlock(&iopb_lock);
+
return KERN_INVALID_ARGUMENT;
}
|