patch-2.4.15 linux/drivers/video/fbmem.c
Next file: linux/drivers/video/fm2fb.c
Previous file: linux/drivers/video/cyberfb.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Nov 14 15:41:37 2001
- Orig file:
v2.4.14/linux/drivers/video/fbmem.c
- Orig date:
Thu Oct 11 08:02:26 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/video/fbmem.c linux/drivers/video/fbmem.c
@@ -563,8 +563,10 @@
/* memory mapped io */
off -= len;
fb->fb_get_var(&var, PROC_CONSOLE(info), info);
- if (var.accel_flags)
+ if (var.accel_flags) {
+ unlock_kernel();
return -EINVAL;
+ }
start = fix.mmio_start;
len = PAGE_ALIGN((start & ~PAGE_MASK)+fix.mmio_len);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)