patch-2.1.36 linux/include/asm-sparc/init.h

Next file: linux/include/asm-sparc/irq.h
Previous file: linux/include/asm-sparc/hardirq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/include/asm-sparc/init.h linux/include/asm-sparc/init.h
@@ -1,8 +1,7 @@
 #ifndef _SPARC_INIT_H
 #define _SPARC_INIT_H
 
-#ifndef __init
-#if (defined (__svr4__) || defined (__ELF__)) && !defined (MODULE)
+#if (defined (__svr4__) || defined (__ELF__))
 #define __init __attribute__ ((__section__ (".text.init")))
 #define __initdata __attribute__ ((__section__ (".data.init")))
 #define __initfunc(__arginit) \
@@ -20,7 +19,6 @@
 #define __INIT
 #define __FINIT
 #define __INITDATA
-#endif
 #endif
 
 #endif

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