patch-2.1.17 linux/arch/sparc/mm/generic.c
Next file: linux/arch/sparc/mm/init.c
Previous file: linux/arch/sparc/mm/fault.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Dec 19 11:03:32 1996
- Orig file:
v2.1.16/linux/arch/sparc/mm/generic.c
- Orig date:
Tue Nov 12 15:56:04 1996
diff -u --recursive --new-file v2.1.16/linux/arch/sparc/mm/generic.c linux/arch/sparc/mm/generic.c
@@ -1,4 +1,4 @@
-/* $Id: generic.c,v 1.4 1996/10/27 08:36:41 davem Exp $
+/* $Id: generic.c,v 1.5 1996/12/18 06:43:23 tridge Exp $
* generic.c: Generic Sparc mm routines that are not dependent upon
* MMU type but are Sparc specific.
*
@@ -104,7 +104,7 @@
unsigned long beg = from;
unsigned long end = from + size;
- pgprot_val(prot) = pg_iobits;
+ prot = __pgprot(pg_iobits);
offset -= from;
dir = pgd_offset(current->mm, from);
flush_cache_range(current->mm, beg, end);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov