aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv/include/asm/init.h')
-rw-r--r--arch/frv/include/asm/init.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/frv/include/asm/init.h b/arch/frv/include/asm/init.h
new file mode 100644
index 000000000000..8b15838de216
--- /dev/null
+++ b/arch/frv/include/asm/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