ARM: dma-api: fix max_pfn off-by-one error in __dma_supported()
[linux/fpc-iii.git] / arch / arm64 / include / asm / linkage.h
blobebee3113a62ff7bbc17e12f8de318e9db37caac3
1 #ifndef __ASM_LINKAGE_H
2 #define __ASM_LINKAGE_H
4 #define __ALIGN .align 2
5 #define __ALIGN_STR ".align 2"
7 /*
8 * Annotate a function as position independent, i.e., safe to be called before
9 * the kernel virtual mapping is activated.
11 #define SYM_FUNC_START_PI(x) \
12 SYM_FUNC_START_ALIAS(__pi_##x); \
13 SYM_FUNC_START(x)
15 #define SYM_FUNC_START_WEAK_PI(x) \
16 SYM_FUNC_START_ALIAS(__pi_##x); \
17 SYM_FUNC_START_WEAK(x)
19 #define SYM_FUNC_END_PI(x) \
20 SYM_FUNC_END(x); \
21 SYM_FUNC_END_ALIAS(__pi_##x)
23 #endif