iscsi_ibft: Fix isa_bus_to_virt not working under ARM
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Sep 2021 00:22:11 +0000 (20:22 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 2 Sep 2021 20:22:00 +0000 (16:22 -0400)
commit799206c1302e8fabfab5a4151e74a2fe90090590
treece9f394fb3002c2d76b34f30474c3f808b59b6d3
parent7fd1d00bf8181db4b90c3c9dc25696229d185b5b
iscsi_ibft: Fix isa_bus_to_virt not working under ARM

The isa_bus_to_virt is only needed under X86 and in fact the code
that sets the ibft_phys_addr is only compiled under X86.

As such lets just ifdef the code.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Vijayendra Suman <vijayendra.suman@oracle.com>
CC: Maurizio Lombardi <mlombard@redhat.com>
CC: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
v2: Remove the ibft_phys_addr as it is defined in iscsi_ibft.h
drivers/firmware/iscsi_ibft.c