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>
This commit is contained in:
@@ -4054,7 +4054,7 @@ static int mgsl_claim_resources(struct mgsl_struct *info)
|
||||
}
|
||||
info->lcr_mem_requested = true;
|
||||
|
||||
info->memory_base = ioremap_nocache(info->phys_memory_base,
|
||||
info->memory_base = ioremap(info->phys_memory_base,
|
||||
0x40000);
|
||||
if (!info->memory_base) {
|
||||
printk( "%s(%d):Can't map shared memory on device %s MemAddr=%08X\n",
|
||||
@@ -4068,7 +4068,7 @@ static int mgsl_claim_resources(struct mgsl_struct *info)
|
||||
goto errout;
|
||||
}
|
||||
|
||||
info->lcr_base = ioremap_nocache(info->phys_lcr_base,
|
||||
info->lcr_base = ioremap(info->phys_lcr_base,
|
||||
PAGE_SIZE);
|
||||
if (!info->lcr_base) {
|
||||
printk( "%s(%d):Can't map LCR memory on device %s MemAddr=%08X\n",
|
||||
|
Reference in New Issue
Block a user