patch-2.1.36 linux/include/asm-alpha/init.h
Next file: linux/include/asm-alpha/processor.h
Previous file: linux/include/asm-alpha/atomic.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Apr 22 22:38:40 1997
- Orig file:
v2.1.35/linux/include/asm-alpha/init.h
- Orig date:
Wed Apr 16 14:15:00 1997
diff -u --recursive --new-file v2.1.35/linux/include/asm-alpha/init.h linux/include/asm-alpha/init.h
@@ -1,14 +1,15 @@
#ifndef _ALPHA_INIT_H
#define _ALPHA_INIT_H
-/* Throwing the initialization code and data out is not supported yet... */
+#define __init __attribute__ ((__section__ (".text.init")))
+#define __initdata __attribute__ ((__section__ (".data.init")))
+#define __initfunc(__arginit) \
+ __arginit __init; \
+ __arginit
-#define __init
-#define __initdata
-#define __initfunc(__arginit) __arginit
/* For assembly routines */
-#define __INIT
-#define __FINIT
-#define __INITDATA
+#define __INIT .section .text.init,"ax"
+#define __FINIT .previous
+#define __INITDATA .section .data.init,"a"
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov