patch-2.1.75 linux/drivers/char/mem.c

Next file: linux/drivers/char/pc_keyb.h
Previous file: linux/drivers/char/bttv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.74/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -129,7 +129,7 @@
 	 * The surround logic should disable caching for the high device
 	 * addresses anyway, but right now this seems still needed.
 	 */
-	if (x86 > 3 && offset >= __pa(high_memory))
+	if (boot_cpu_data.x86 > 3 && offset >= __pa(high_memory))
 		pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
 #endif
 #ifdef __powerpc__

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