]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - arch/x86/kernel/alternative.c
x86/bugs: Rename CONFIG_RETHUNK => CONFIG_MITIGATION_RETHUNK
[thirdparty/linux.git] / arch / x86 / kernel / alternative.c
index f5442d0d2ee9bbe0671837890a0884b21cbfd6e8..df91abea3420f5f97e0a606c9fdea941290e0ee3 100644 (file)
@@ -769,7 +769,7 @@ void __init_or_module noinline apply_retpolines(s32 *start, s32 *end)
        }
 }
 
-#ifdef CONFIG_RETHUNK
+#ifdef CONFIG_MITIGATION_RETHUNK
 
 /*
  * Rewrite the compiler generated return thunk tail-calls.
@@ -842,7 +842,7 @@ void __init_or_module noinline apply_returns(s32 *start, s32 *end)
 }
 #else
 void __init_or_module noinline apply_returns(s32 *start, s32 *end) { }
-#endif /* CONFIG_RETHUNK */
+#endif /* CONFIG_MITIGATION_RETHUNK */
 
 #else /* !CONFIG_MITIGATION_RETPOLINE || !CONFIG_OBJTOOL */