Messages in this thread Patch in this message | | | Date | Thu, 6 Jan 2000 21:31:26 -0500 (EST) | From | James A Simmons <> | Subject | [PATCH] fbdev cleanup |
| |
--- linux-2.3.37/drivers/video/fbmem.c Thu Jan 6 20:09:18 2000 +++ linux/drivers/video/fbmem.c Thu Jan 6 21:13:41 2000 @@ -432,7 +432,7 @@ /* frame buffer memory */ start = fix.smem_start; len = (start & ~PAGE_MASK)+fix.smem_len; - len = (len+~PAGE_MASK) & PAGE_MASK; /* someone's on crack. */ + len = PAGE_ALIGN(len); if (off >= len) { /* memory mapped io */ off -= len;
- 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/
| |