diff options
Diffstat (limited to 'include/asm-s390/init.h')
-rw-r--r-- | include/asm-s390/init.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/asm-s390/init.h b/include/asm-s390/init.h new file mode 100644 index 000000000..715485b72 --- /dev/null +++ b/include/asm-s390/init.h @@ -0,0 +1,29 @@ +/* + * include/asm-s390/init.h + * + * S390 version + */ + +#ifndef _S390_INIT_H +#define _S390_INIT_H + +#define __init __attribute__ ((constructor)) + +/* don't know, if need on S390 */ +#define __initdata +#define __initfunc(__arginit) \ + __arginit __init; \ + __arginit +/* For assembly routines + * need to define ? + */ +/* +#define __INIT .section ".text.init",#alloc,#execinstr +#define __FINIT .previous +#define __INITDATA .section ".data.init",#alloc,#write +*/ + +#define __cacheline_aligned __attribute__ ((__aligned__(16))) + +#endif + |