patch-2.3.23 linux/drivers/char/mem.c
Next file: linux/drivers/char/n_tty.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Oct 21 13:38:12 1999
- Orig file:
v2.3.22/linux/drivers/char/mem.c
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.22/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -158,6 +158,9 @@
prot = (prot & _CACHEMASK040) | _PAGE_NOCACHE_S;
#elif defined(__mips__)
prot = (prot & ~_CACHE_MASK) | _CACHE_UNCACHED;
+#elif defined(__arm__) && defined(CONFIG_CPU_32)
+ /* Turn off caching for all I/O areas */
+ prot &= ~(L_PTE_CACHEABLE | L_PTE_BUFFERABLE);
#endif
return prot;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)