Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef __ASM_LINKAGE_H
2#define __ASM_LINKAGE_H
3
4#include <linux/stringify.h>
5
6#define __ALIGN .align 4, 0x07
7#define __ALIGN_STR __stringify(__ALIGN)
8
9#ifndef __ASSEMBLY__
10
11/*
12 * Helper macro for exception table entries
13 */
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"
20
21#else /* __ASSEMBLY__ */
22
23#define EX_TABLE(_fault, _target) \
24 .section __ex_table,"a" ; \
25 .align 4 ; \
26 .long (_fault) - . ; \
27 .long (_target) - . ; \
28 .previous
29
30#endif /* __ASSEMBLY__ */
31#endif