hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/arch/x86/include/asm/asm-prototypes.h
....@@ -1,14 +1,14 @@
11 /* SPDX-License-Identifier: GPL-2.0 */
22 #include <asm/ftrace.h>
33 #include <linux/uaccess.h>
4
+#include <linux/pgtable.h>
45 #include <asm/string.h>
56 #include <asm/page.h>
67 #include <asm/checksum.h>
8
+#include <asm/mce.h>
79
810 #include <asm-generic/asm-prototypes.h>
911
10
-#include <asm/page.h>
11
-#include <asm/pgtable.h>
1212 #include <asm/special_insns.h>
1313 #include <asm/preempt.h>
1414 #include <asm/asm.h>
....@@ -17,25 +17,3 @@
1717 extern void cmpxchg8b_emu(void);
1818 #endif
1919
20
-#ifdef CONFIG_RETPOLINE
21
-#ifdef CONFIG_X86_32
22
-#define INDIRECT_THUNK(reg) extern asmlinkage void __x86_indirect_thunk_e ## reg(void);
23
-#else
24
-#define INDIRECT_THUNK(reg) extern asmlinkage void __x86_indirect_thunk_r ## reg(void);
25
-INDIRECT_THUNK(8)
26
-INDIRECT_THUNK(9)
27
-INDIRECT_THUNK(10)
28
-INDIRECT_THUNK(11)
29
-INDIRECT_THUNK(12)
30
-INDIRECT_THUNK(13)
31
-INDIRECT_THUNK(14)
32
-INDIRECT_THUNK(15)
33
-#endif
34
-INDIRECT_THUNK(ax)
35
-INDIRECT_THUNK(bx)
36
-INDIRECT_THUNK(cx)
37
-INDIRECT_THUNK(dx)
38
-INDIRECT_THUNK(si)
39
-INDIRECT_THUNK(di)
40
-INDIRECT_THUNK(bp)
41
-#endif /* CONFIG_RETPOLINE */