aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/asm-prototypes.h1
-rw-r--r--arch/x86/lib/retpoline.S1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/asm-prototypes.h b/arch/x86/include/asm/asm-prototypes.h
index 0927cdc4f946..1908214b9125 100644
--- a/arch/x86/include/asm/asm-prototypes.h
+++ b/arch/x86/include/asm/asm-prototypes.h
@@ -38,5 +38,4 @@ INDIRECT_THUNK(dx)
38INDIRECT_THUNK(si) 38INDIRECT_THUNK(si)
39INDIRECT_THUNK(di) 39INDIRECT_THUNK(di)
40INDIRECT_THUNK(bp) 40INDIRECT_THUNK(bp)
41INDIRECT_THUNK(sp)
42#endif /* CONFIG_RETPOLINE */ 41#endif /* CONFIG_RETPOLINE */
diff --git a/arch/x86/lib/retpoline.S b/arch/x86/lib/retpoline.S
index dfb2ba91b670..c909961e678a 100644
--- a/arch/x86/lib/retpoline.S
+++ b/arch/x86/lib/retpoline.S
@@ -36,7 +36,6 @@ GENERATE_THUNK(_ASM_DX)
36GENERATE_THUNK(_ASM_SI) 36GENERATE_THUNK(_ASM_SI)
37GENERATE_THUNK(_ASM_DI) 37GENERATE_THUNK(_ASM_DI)
38GENERATE_THUNK(_ASM_BP) 38GENERATE_THUNK(_ASM_BP)
39GENERATE_THUNK(_ASM_SP)
40#ifdef CONFIG_64BIT 39#ifdef CONFIG_64BIT
41GENERATE_THUNK(r8) 40GENERATE_THUNK(r8)
42GENERATE_THUNK(r9) 41GENERATE_THUNK(r9)