summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/init.h
blob: f4a08c9f209983841ef01a8ad35bced41429fb9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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"

#define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))

#endif