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

Next file: linux/drivers/block/README.aztcd
Previous file: linux/arch/sparc/mm/srmmu.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.21/linux/arch/sparc/mm/sun4c.c linux/arch/sparc/mm/sun4c.c
@@ -364,6 +364,13 @@
 }
 
 void
+sun4c_set_pte(pte_t *ptep, pte_t entry)
+{
+	/* for now... */
+	*ptep = entry;
+}
+
+void
 sun4c_switch_to_context(int context)
 {
 	__asm__ __volatile__("stba %0, [%1] %2" : :
@@ -630,6 +637,7 @@
 	
 	/* Functions */
 	invalidate = sun4c_invalidate;
+	set_pte = sun4c_set_pte;
 	switch_to_context = sun4c_switch_to_context;
 	pmd_align = sun4c_pmd_align;
 	pgdir_align = sun4c_pgdir_align;

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this