Update of /cvsroot/linuxconsole/ruby/linux/drivers/video
In directory usw-pr-cvs1:/tmp/cvs-serv12845
Modified Files:
vga.c
Log Message:
Fixed a improper lock.
Index: vga.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/video/vga.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- vga.c 2001/06/10 15:51:07 1.4
+++ vga.c 2001/10/08 17:07:13 1.5
@@ -315,7 +315,7 @@
spin_lock_irqsave(&state->vga_lock, flags);
state->SeqCtrlIndex = vga_r(regs, VGA_SEQ_I);
state->CrtCtrlIndex = vga_r(regs, VGA_CRT_IC);
- spin_unlock_irqrestore(&vga_lock, flags);
+ spin_unlock_irqrestore(&state->vga_lock, flags);
state->HorizontalTotal = vga_rcrt(regs, 0x00);
state->HorizDisplayEnd = vga_rcrt(regs, 0x01);
|