summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/init.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/asm-i386/init.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/asm-i386/init.h')
-rw-r--r--include/asm-i386/init.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-i386/init.h b/include/asm-i386/init.h
new file mode 100644
index 000000000..83215545f
--- /dev/null
+++ b/include/asm-i386/init.h
@@ -0,0 +1,14 @@
+#ifndef _I386_INIT_H
+#define _I386_INIT_H
+
+#define __init __attribute__ ((__section__ (".text.init")))
+#define __initdata __attribute__ ((__section__ (".data.init")))
+#define __initfunc(__arginit) \
+ __arginit __init; \
+ __arginit
+/* For assembly routines */
+#define __INIT .section ".text.init",#alloc,#execinstr
+#define __FINIT .previous
+#define __INITDATA .section ".data.init",#alloc,#write
+
+#endif