diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-11 16:46:42 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2019-02-12 21:15:36 +0300 |
commit | 8bd04c57fda62e3599f654aa43b521b326a95805 (patch) | |
tree | a3ed4bad841d6a86e0174371adb6a802514a916a /drivers/firmware/iscsi_ibft_find.c | |
parent | df997abeebadaa4824271009e2d2b526a70a11cb (diff) | |
download | linux-8bd04c57fda62e3599f654aa43b521b326a95805.tar.xz |
iscsi_ibft: use virt_to_phys instead of isa_virt_to_bus
As far as I can tell IBFT is a firmware table and has nothing to do with
the good old ISA bus. And even if it the two would be the same on x86
anyway. So remove the isa_virt_to_bus call in preparation of eventually
removing that API entirely.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/firmware/iscsi_ibft_find.c')
-rw-r--r-- | drivers/firmware/iscsi_ibft_find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/iscsi_ibft_find.c b/drivers/firmware/iscsi_ibft_find.c index 72d9ea18270b..85c656d04bb0 100644 --- a/drivers/firmware/iscsi_ibft_find.c +++ b/drivers/firmware/iscsi_ibft_find.c @@ -104,7 +104,7 @@ unsigned long __init find_ibft_region(unsigned long *sizep) if (ibft_addr) { *sizep = PAGE_ALIGN(ibft_addr->header.length); - return (u64)isa_virt_to_bus(ibft_addr); + return (u64)virt_to_phys(ibft_addr); } *sizep = 0; |