Skip to content
Commit 2fe2a2c7 authored by Juergen Gross's avatar Juergen Gross Committed by Borislav Petkov
Browse files

x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()



_static_cpu_has() contains a completely open coded version of
ALTERNATIVE_TERNARY(). Replace that with the macro instead.

Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210311142319.4723-8-jgross@suse.com
parent e208b3c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment