patch-2.1.110 linux/arch/arm/mm/mm-arc.c

Next file: linux/arch/arm/mm/mm-armv.c
Previous file: linux/arch/arm/mm/mm-a5k.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/arch/arm/mm/mm-arc.c linux/arch/arm/mm/mm-arc.c
@@ -5,6 +5,7 @@
  *
  * Copyright (C) 1998 Russell King
  */
+#include <linux/init.h>
 #include <asm/hardware.h>
 #include <asm/pgtable.h>
 
@@ -13,7 +14,7 @@
 /*
  * This routine needs more work to make it dynamically release/allocate mem!
  */
-unsigned long map_screen_mem(unsigned long log_start, unsigned long kmem, int update)
+__initfunc(unsigned long map_screen_mem(unsigned long log_start, unsigned long kmem, int update))
 {
 	static int updated = 0;
 
@@ -75,8 +76,7 @@
 
 		phys_screen_end = offset;
 		flush_tlb_all ();
-		update_mm_cache_all ();
+		update_memc_all ();
 	}
 	return kmem;
 }
-

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