aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2020-03-18 18:27:48 +0000
committerBorislav Petkov <[email protected]>2020-03-19 09:55:56 +0000
commit870b4333a62e45b0b2000d14b301b7b8b8cad9da (patch)
tree88187aa363c35ddf18c39cea871a7f7e6c23c796 /tools/perf/scripts/python/net_dropmonitor.py
parentLinux 5.6-rc6 (diff)
downloadkernel-870b4333a62e45b0b2000d14b301b7b8b8cad9da.tar.gz
kernel-870b4333a62e45b0b2000d14b301b7b8b8cad9da.zip
x86/ioremap: Fix CONFIG_EFI=n build
In order to use efi_mem_type(), one needs CONFIG_EFI enabled. Otherwise that function is undefined. Use IS_ENABLED() to check and avoid the ifdeffery as the compiler optimizes away the following unreachable code then. Fixes: 985e537a4082 ("x86/ioremap: Map EFI runtime services data as encrypted for SEV") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Tested-by: Randy Dunlap <[email protected]> Cc: Tom Lendacky <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions