summaryrefslogtreecommitdiff
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-02-02 13:22:41 +0300
committerArd Biesheuvel <ardb@kernel.org>2020-02-23 23:59:42 +0300
commita570b0624b3f73a6cc57c529e506300c639912e2 (patch)
tree7f241911d71277c796a3016d31bbc0f6c271bb68 /include/linux/efi.h
parent14b60cc8e0ead866cd25b4e51945c6267ca9936c (diff)
downloadlinux-a570b0624b3f73a6cc57c529e506300c639912e2.tar.xz
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: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
0 files changed, 0 insertions, 0 deletions