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
- Lines: 10
- Date:
Mon Jul 27 13:59:28 1998
- Orig file:
v2.1.111/linux/drivers/char/fbmem.c
- Orig date:
Tue Jul 21 00:15:31 1998
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