summaryrefslogtreecommitdiff
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-09-04 22:04:57 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2023-10-20 12:26:59 +0200
commit55ca9010c4a988b48278f81ae4129deea52d2488 (patch)
tree8c626521727c9eaa4502fda56a9ce35e03396e60 /net/ipv6/route.c
parenteb54be26b0d25222809b16f335fe13756ff4a206 (diff)
downloadlinux-55ca9010c4a988b48278f81ae4129deea52d2488.tar.gz
linux-55ca9010c4a988b48278f81ae4129deea52d2488.tar.bz2
linux-55ca9010c4a988b48278f81ae4129deea52d2488.zip
x86/srso: Remove 'pred_cmd' label
SBPB is only enabled in two distinct cases: 1) when SRSO has been disabled with srso=off 2) when SRSO has been fixed (in future HW) Simplify the control flow by getting rid of the 'pred_cmd' label and moving the SBPB enablement check to the two corresponding code sites. This makes it more clear when exactly SBPB gets enabled. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/bb20e8569cfa144def5e6f25e610804bc4974de2.1693889988.git.jpoimboe@kernel.org
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions