Skip to content
Commit a570b062 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi/x86: Replace #ifdefs with IS_ENABLED() checks



When possible, IS_ENABLED() conditionals are preferred over #ifdefs,
given that the latter hide the code from the compiler entirely, which
reduces build test coverage when the option is not enabled.

So replace an instance in the x86 efi startup code.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 14b60cc8
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