patch-2.2.17 linux/drivers/video/vfb.c
Next file: linux/fs/affs/file.c
Previous file: linux/drivers/video/pm2fb.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 4 18:39:22 2000
- Orig file:
v2.2.16/drivers/video/vfb.c
- Orig date:
Mon Sep 4 18:37:41 2000
diff -u --recursive --new-file v2.2.16/drivers/video/vfb.c linux/drivers/video/vfb.c
@@ -494,7 +494,7 @@
{
u_long length;
- length = (xres_virtual+bpp-1)/bpp;
+ length = xres_virtual*bpp;
length = (length+31)&-32;
length >>= 3;
return(length);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)