mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
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:
@@ -431,10 +431,10 @@ void __init ltq_soc_init(void)
|
||||
res_ebu.name))
|
||||
pr_err("Failed to request core resources");
|
||||
|
||||
pmu_membase = ioremap_nocache(res_pmu.start, resource_size(&res_pmu));
|
||||
ltq_cgu_membase = ioremap_nocache(res_cgu.start,
|
||||
pmu_membase = ioremap(res_pmu.start, resource_size(&res_pmu));
|
||||
ltq_cgu_membase = ioremap(res_cgu.start,
|
||||
resource_size(&res_cgu));
|
||||
ltq_ebu_membase = ioremap_nocache(res_ebu.start,
|
||||
ltq_ebu_membase = ioremap(res_ebu.start,
|
||||
resource_size(&res_ebu));
|
||||
if (!pmu_membase || !ltq_cgu_membase || !ltq_ebu_membase)
|
||||
panic("Failed to remap core resources");
|
||||
|
||||
Reference in New Issue
Block a user