Skip to content

Commit 4cfa6ff

Browse files
committed
powerpc/64e: Fix kexec build error
When building ppc64_book3e_allmodconfig the build fails with: arch/powerpc/kexec/file_load_64.c:1063:14: error: implicit declaration of function ‘firmware_has_feature’ 1063 | if (!firmware_has_feature(FW_FEATURE_LPAR)) | ^~~~~~~~~~~~~~~~~~~~ Add a direct include of asm/firmware.h to fix the error. Fixes: b1fc44e ("pseries/iommu/ddw: Fix kdump to work in absence of ibm,dma-window") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent bce02f7 commit 4cfa6ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/kexec/file_load_64.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include <linux/vmalloc.h>
2424
#include <asm/setup.h>
2525
#include <asm/drmem.h>
26+
#include <asm/firmware.h>
2627
#include <asm/kexec_ranges.h>
2728
#include <asm/crashdump-ppc64.h>
2829

0 commit comments

Comments
 (0)