patch-2.3.16 linux/arch/mips/mm/init.c

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

diff -u --recursive --new-file v2.3.15/linux/arch/mips/mm/init.c linux/arch/mips/mm/init.c
@@ -272,7 +272,7 @@
 
 extern unsigned long free_area_init(unsigned long, unsigned long);
 
-__initfunc(unsigned long paging_init(unsigned long start_mem, unsigned long end_mem))
+unsigned long __init paging_init(unsigned long start_mem, unsigned long end_mem)
 {
 	/* Initialize the entire pgd.  */
 	pgd_init((unsigned long)swapper_pg_dir);
@@ -280,7 +280,7 @@
 	return free_area_init(start_mem, end_mem);
 }
 
-__initfunc(void mem_init(unsigned long start_mem, unsigned long end_mem))
+void __init mem_init(unsigned long start_mem, unsigned long end_mem)
 {
 	int codepages = 0;
 	int datapages = 0;
@@ -383,8 +383,8 @@
 }
 
 /* Fixup an immediate instruction  */
-__initfunc(static void __i_insn_fixup(unsigned int **start, unsigned int **stop,
-                         unsigned int i_const))
+static void __init __i_insn_fixup(unsigned int **start, unsigned int **stop,
+                         unsigned int i_const)
 {
 	unsigned int **p, *ip;
 
@@ -402,9 +402,9 @@
 } while(0)
 
 /* Caller is assumed to flush the caches before the first context switch.  */
-__initfunc(void __asid_setup(unsigned int inc, unsigned int mask,
+void __init __asid_setup(unsigned int inc, unsigned int mask,
                              unsigned int version_mask,
-                             unsigned int first_version))
+                             unsigned int first_version)
 {
 	i_insn_fixup(__asid_inc, inc);
 	i_insn_fixup(__asid_mask, mask);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)