summaryrefslogtreecommitdiffstats
path: root/include/asm-s390x/init.h
blob: 715485b7273aeb9eb9833e5e0966708b32d2ac91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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