s390: fix build failure
PATCH 1/1 s390: fix build failure
s390 defconfig fails with the error:
ERROR: "phys_to_pfn_t" [drivers/s390/block/dcssblk.ko] undefined!
We need CONFIG_HAS_IOMEM for phys_to_pfn_t() and for that we need to have CONFIG_PCI.
---
s390 defconfig with next-20151222 is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/98258271
arch/s390/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/s390/defconfig +1 -0
@@ -207,3 +207,4 @@ CONFIG_CRC7=m # CONFIG_XZ_DEC_ARMTHUMB is not set # CONFIG_XZ_DEC_SPARC is not set CONFIG_CMM=m +CONFIG_PCI=y
Signature · 1 line
1.9.1
Quoted 11 lines · Sudip Mukherjee
s390 defconfig fails with the error:
ERROR: "phys_to_pfn_t" [drivers/s390/block/dcssblk.ko] undefined!We need
CONFIG_HAS_IOMEMforphys_to_pfn_t()and for that we need to haveCONFIG_PCI.Fixes bfac97e7b361 ("mm, dax, pmem: introduce pfn_t")Cc Dan Williams <[email protected]>Cc Andrew Morton <[email protected]>Signed-off-by Sudip Mukherjee <[email protected]>---
Hi, I fixed this build breakage in v4 of the patch series that introduces phys_to_pfn_t() [1]. Chnaging the config is not correct the HAS_IOMEM dependency for the symbol needs to be satisfied.
[1]: https://lists.01.org/pipermail/linux-nvdimm/2015-December/003610.html