irqchip: Fix dependencies for archs w/o HAS_IOMEM
[linux/fpc-iii.git] / arch / s390 / include / asm / linkage.h
blob27da78cf416da602a9fb60eac8c7e30b62e900ea
1 #ifndef __ASM_LINKAGE_H
2 #define __ASM_LINKAGE_H
4 #include <linux/stringify.h>
6 #define __ALIGN .align 4, 0x07
7 #define __ALIGN_STR __stringify(__ALIGN)
9 #ifndef __ASSEMBLY__
12 * Helper macro for exception table entries
14 #define EX_TABLE(_fault, _target) \
15 ".section __ex_table,\"a\"\n" \
16 ".align 4\n" \
17 ".long (" #_fault ") - .\n" \
18 ".long (" #_target ") - .\n" \
19 ".previous\n"
21 #else /* __ASSEMBLY__ */
23 #define EX_TABLE(_fault, _target) \
24 .section __ex_table,"a" ; \
25 .align 4 ; \
26 .long (_fault) - . ; \
27 .long (_target) - . ; \
28 .previous
30 #endif /* __ASSEMBLY__ */
31 #endif