patch-2.3.16 linux/arch/sparc/mm/nosrmmu.c

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

diff -u --recursive --new-file v2.3.15/linux/arch/sparc/mm/nosrmmu.c linux/arch/sparc/mm/nosrmmu.c
@@ -1,4 +1,4 @@
-/* $Id: nosrmmu.c,v 1.2 1999/03/30 10:17:39 jj Exp $
+/* $Id: nosrmmu.c,v 1.3 1999/08/31 06:54:35 davem Exp $
  * nosrmmu.c: This file is a bunch of dummies for sun4 compiles, 
  *         so that it does not need srmmu and avoid ifdefs.
  *
@@ -14,24 +14,24 @@
 
 enum mbus_module srmmu_modtype;
 
-__initfunc(static void should_not_happen(void))
+static void __init should_not_happen(void)
 {
 	prom_printf(shouldnothappen);
 	prom_halt();
 }
 
-__initfunc(void srmmu_frob_mem_map(unsigned long start_mem))
+void __init srmmu_frob_mem_map(unsigned long start_mem)
 {
 	should_not_happen();
 }
 
-__initfunc(unsigned long srmmu_paging_init(unsigned long start_mem, unsigned long end_mem))
+unsigned long __init srmmu_paging_init(unsigned long start_mem, unsigned long end_mem)
 {
 	should_not_happen();
 	return 0;
 }
 
-__initfunc(void ld_mmu_srmmu(void))
+void __init ld_mmu_srmmu(void)
 {
 	should_not_happen();
 }
@@ -44,7 +44,7 @@
 {
 }
 
-__initfunc(void srmmu_end_memory(unsigned long memory_size, unsigned long *mem_end_p))
+void __init srmmu_end_memory(unsigned long memory_size, unsigned long *mem_end_p)
 {
 	return 0;
 }

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