Messages in this thread Patch in this message | | | Date | Thu, 9 Dec 1999 10:04:28 -0500 (EST) | From | James Simmons <> | Subject | [PATCH] Fixed scrolling races for multihead systems |
| |
The scrolling code in fbcon.c was designed for single headed systems. This patch fixes this.
-----== ----== _ ---== (_)__ __ ____ __ James Simmons --== / / _ \/ // /\ \/ / jsimmons@edgeglobal.com -=====/_/_//_/\_,_/ /_/\_\ fbdev/gfx developer The choice of a GNU generation
------------ cut here -------------- --- v2.3.30/linux/drivers/video/fbcon.c Tue Dec 7 21:32:58 1999 +++ linux/drivers/video/fbcon.c Wed Dec 8 21:39:58 1999 @@ -1167,8 +1167,11 @@
static inline void fbcon_softback_note(struct vc_data *conp, int t, int count) { - unsigned short *p = (unsigned short *) - (conp->vc_origin + t * conp->vc_size_row); + unsigned short *p; + + if (conp->vc_num != fg_console) + return; + p = (unsigned short *)(conp->vc_origin + t * conp->vc_size_row); while (count) { scr_memcpyw((u16 *)softback_in, p, conp->vc_size_row); count--; ------------ cut here --------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |