summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/arcmsr/arcmsr_hba.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-08-28 01:40:26 +0200
committerDan Williams <dan.j.williams@intel.com>2015-08-28 01:40:26 +0200
commit4a9bf88a5caa8495b5eb2b738d5fb40924bbc538 (patch)
tree7c2901cb67a7dd7c863fee6924afe24be79cddab /drivers/scsi/arcmsr/arcmsr_hba.c
parentnvdimm: change to use generic kvfree() (diff)
parentnd_blk: change aperture mapping from WC to WB (diff)
downloadlinux-4a9bf88a5caa8495b5eb2b738d5fb40924bbc538.tar.xz
linux-4a9bf88a5caa8495b5eb2b738d5fb40924bbc538.zip
Merge branch 'pmem-api' into libnvdimm-for-next
Diffstat (limited to 'drivers/scsi/arcmsr/arcmsr_hba.c')
-rw-r--r--drivers/scsi/arcmsr/arcmsr_hba.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
index 914c39f9f388..e4f77cad9fd8 100644
--- a/drivers/scsi/arcmsr/arcmsr_hba.c
+++ b/drivers/scsi/arcmsr/arcmsr_hba.c
@@ -259,10 +259,7 @@ static bool arcmsr_remap_pciregion(struct AdapterControlBlock *acb)
addr = (unsigned long)pci_resource_start(pdev, 0);
range = pci_resource_len(pdev, 0);
flags = pci_resource_flags(pdev, 0);
- if (flags & IORESOURCE_CACHEABLE)
- mem_base0 = ioremap(addr, range);
- else
- mem_base0 = ioremap_nocache(addr, range);
+ mem_base0 = ioremap(addr, range);
if (!mem_base0) {
pr_notice("arcmsr%d: memory mapping region fail\n",
acb->host->host_no);