]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - arch/x86/include/asm/asm-prototypes.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <asm/ftrace.h>
3 #include <linux/uaccess.h>
4 #include <linux/pgtable.h>
5 #include <asm/string.h>
7 #include <asm/checksum.h>
10 #include <asm-generic/asm-prototypes.h>
12 #include <asm/special_insns.h>
13 #include <asm/preempt.h>
16 #ifndef CONFIG_X86_CMPXCHG64
17 extern void cmpxchg8b_emu(void);
20 #ifdef CONFIG_RETPOLINE
22 #define DECL_INDIRECT_THUNK(reg) \
23 extern asmlinkage void __x86_indirect_thunk_ ## reg (void);
25 #define DECL_RETPOLINE(reg) \
26 extern asmlinkage void __x86_retpoline_ ## reg (void);
29 #define GEN(reg) DECL_INDIRECT_THUNK(reg)
30 #include <asm/GEN-for-each-reg.h>
33 #define GEN(reg) DECL_RETPOLINE(reg)
34 #include <asm/GEN-for-each-reg.h>
36 #endif /* CONFIG_RETPOLINE */