x86/retbleed: Add fine grained Kconfig knobs
[platform/kernel/linux-rpi.git] / scripts / link-vmlinux.sh
index 3c2adb7..3819a46 100755 (executable)
@@ -120,7 +120,7 @@ objtool_link()
 
        if [ -n "${CONFIG_VMLINUX_VALIDATION}" ]; then
                objtoolopt="${objtoolopt} --noinstr"
-               if is_enabled CONFIG_RETPOLINE; then
+               if is_enabled CONFIG_CPU_UNRET_ENTRY; then
                        objtoolopt="${objtoolopt} --unret"
                fi
        fi