Linux-2.4.0-test2
[davej-history.git] / include / asm-s390 / init.h
blob715485b7273aeb9eb9833e5e0966708b32d2ac91
1 /*
2 * include/asm-s390/init.h
4 * S390 version
5 */
7 #ifndef _S390_INIT_H
8 #define _S390_INIT_H
10 #define __init __attribute__ ((constructor))
12 /* don't know, if need on S390 */
13 #define __initdata
14 #define __initfunc(__arginit) \
15 __arginit __init; \
16 __arginit
17 /* For assembly routines
18 * need to define ?
21 #define __INIT .section ".text.init",#alloc,#execinstr
22 #define __FINIT .previous
23 #define __INITDATA .section ".data.init",#alloc,#write
26 #define __cacheline_aligned __attribute__ ((__aligned__(16)))
28 #endif