aboutsummaryrefslogtreecommitdiffstats
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 000000000000..8b15838de216
--- /dev/null
+++ b/include/asm-frv/init.h
@@ -0,0 +1,12 @@
1#ifndef _ASM_INIT_H
2#define _ASM_INIT_H
3
4#define __init __attribute__ ((__section__ (".text.init")))
5#define __initdata __attribute__ ((__section__ (".data.init")))
6/* For assembly routines */
7#define __INIT .section ".text.init",#alloc,#execinstr
8#define __FINIT .previous
9#define __INITDATA .section ".data.init",#alloc,#write
10
11#endif
12