aboutsummaryrefslogtreecommitdiff
path: root/include/asm-frv/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/init.h')
-rw-r--r--include/asm-frv/init.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-frv/init.h b/include/asm-frv/init.h
new file mode 100644
index 00000000000..8b15838de21
--- /dev/null
+++ b/include/asm-frv/init.h
@@ -0,0 +1,12 @@
+#ifndef _ASM_INIT_H
+#define _ASM_INIT_H
+
+#define __init __attribute__ ((__section__ (".text.init")))
+#define __initdata __attribute__ ((__section__ (".data.init")))
+/* For assembly routines */
+#define __INIT .section ".text.init",#alloc,#execinstr
+#define __FINIT .previous
+#define __INITDATA .section ".data.init",#alloc,#write
+
+#endif
+