patch-1.3.22 linux/arch/sparc/mm/srmmu.c

Next file: linux/arch/sparc/mm/sun4c.c
Previous file: linux/arch/sparc/mm/loadmmu.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.21/linux/arch/sparc/mm/srmmu.c linux/arch/sparc/mm/srmmu.c
@@ -427,6 +427,13 @@
 	return;
 }
 
+void
+srmmu_set_pte(pte_t *ptep, pte_t entry)
+{
+	/* for now... */
+	*ptep = entry;
+}
+
 /* XXX Needs to be written */
 void
 srmmu_switch_to_context(int context)
@@ -840,6 +847,7 @@
 	
 	/* Functions */
 	invalidate = srmmu_invalidate;
+	set_pte = srmmu_set_pte;
 	switch_to_context = srmmu_switch_to_context;
 	pmd_align = srmmu_pmd_align;
 	pgdir_align = srmmu_pgdir_align;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this