patch-2.3.99-pre8 linux/include/asm-s390/init.h

Next file: linux/include/asm-s390/io.h
Previous file: linux/include/asm-s390/ide.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre7/linux/include/asm-s390/init.h linux/include/asm-s390/init.h
@@ -0,0 +1,29 @@
+/*
+ *  include/asm-s390/init.h
+ *
+ *  S390 version
+ */
+
+#ifndef _S390_INIT_H
+#define _S390_INIT_H
+
+#define __init __attribute__ ((constructor))
+
+/* don't know, if need on S390 */
+#define __initdata
+#define __initfunc(__arginit) \
+        __arginit __init; \
+        __arginit
+/* For assembly routines
+ * need to define ?
+ */
+/*
+#define __INIT          .section        ".text.init",#alloc,#execinstr
+#define __FINIT .previous
+#define __INITDATA      .section        ".data.init",#alloc,#write
+*/
+
+#define __cacheline_aligned __attribute__ ((__aligned__(16)))
+
+#endif
+

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