diff options
Diffstat (limited to 'include/asm-alpha/init.h')
-rw-r--r-- | include/asm-alpha/init.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-alpha/init.h b/include/asm-alpha/init.h new file mode 100644 index 000000000..7d769dfcd --- /dev/null +++ b/include/asm-alpha/init.h @@ -0,0 +1,15 @@ +#ifndef _ALPHA_INIT_H +#define _ALPHA_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,"ax" +#define __FINIT .previous +#define __INITDATA .section .data.init,"a" + +#endif |