remove ioremap_nocache and devm_ioremap_nocache
ioremap has provided non-cached semantics by default since the Linux 2.6 days, so remove the additional ioremap_nocache interface. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
Esse commit está contido em:
@@ -905,7 +905,7 @@ static int sh_cmt_map_memory(struct sh_cmt_device *cmt)
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
cmt->mapbase = ioremap_nocache(mem->start, resource_size(mem));
|
||||
cmt->mapbase = ioremap(mem->start, resource_size(mem));
|
||||
if (cmt->mapbase == NULL) {
|
||||
dev_err(&cmt->pdev->dev, "failed to remap I/O memory\n");
|
||||
return -ENXIO;
|
||||
|
@@ -377,7 +377,7 @@ static int sh_mtu2_map_memory(struct sh_mtu2_device *mtu)
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
mtu->mapbase = ioremap_nocache(res->start, resource_size(res));
|
||||
mtu->mapbase = ioremap(res->start, resource_size(res));
|
||||
if (mtu->mapbase == NULL)
|
||||
return -ENXIO;
|
||||
|
||||
|
@@ -486,7 +486,7 @@ static int sh_tmu_map_memory(struct sh_tmu_device *tmu)
|
||||
return -ENXIO;
|
||||
}
|
||||
|
||||
tmu->mapbase = ioremap_nocache(res->start, resource_size(res));
|
||||
tmu->mapbase = ioremap(res->start, resource_size(res));
|
||||
if (tmu->mapbase == NULL)
|
||||
return -ENXIO;
|
||||
|
||||
|
Referência em uma nova issue
Block a user