vfs: Make __vfs_write() static
[linux/fpc-iii.git] / arch / x86 / include / asm / linkage.h
blob14caa9d9fb7ffcba8bc368a9c178296d27d901fb
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_LINKAGE_H
3 #define _ASM_X86_LINKAGE_H
5 #include <linux/stringify.h>
7 #undef notrace
8 #define notrace __attribute__((no_instrument_function))
10 #ifdef CONFIG_X86_32
11 #define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
12 #endif /* CONFIG_X86_32 */
14 #ifdef __ASSEMBLY__
16 #define GLOBAL(name) \
17 .globl name; \
18 name:
20 #if defined(CONFIG_X86_64) || defined(CONFIG_X86_ALIGNMENT_16)
21 #define __ALIGN .p2align 4, 0x90
22 #define __ALIGN_STR __stringify(__ALIGN)
23 #endif
25 #endif /* __ASSEMBLY__ */
27 #endif /* _ASM_X86_LINKAGE_H */