patch-2.1.112 linux/drivers/char/fbmem.c

Next file: linux/drivers/char/msp3400.c
Previous file: linux/drivers/char/esp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.111/linux/drivers/char/fbmem.c linux/drivers/char/fbmem.c
@@ -420,6 +420,9 @@
 #elif defined(__sparc__)
 	/* Should never get here, all fb drivers should have their own
 	   mmap routines */
+#elif defined(__i386__)
+	if (boot_cpu_data.x86 > 3)
+		pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
 #else
 #warning What do we have to do here??
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov