Loading arch/nios2/include/asm/io.h +1 −6 Original line number Diff line number Diff line Loading @@ -26,12 +26,7 @@ #define writel_relaxed(x, addr) writel(x, addr) void __iomem *ioremap(unsigned long physaddr, unsigned long size); extern void __iounmap(void __iomem *addr); static inline void iounmap(void __iomem *addr) { __iounmap(addr); } void iounmap(void __iomem *addr); /* Pages to physical address... */ #define page_to_phys(page) virt_to_phys(page_to_virt(page)) Loading arch/nios2/mm/ioremap.c +3 −3 Original line number Diff line number Diff line Loading @@ -157,11 +157,11 @@ void __iomem *ioremap(unsigned long phys_addr, unsigned long size) EXPORT_SYMBOL(ioremap); /* * __iounmap unmaps nearly everything, so be careful * iounmap unmaps nearly everything, so be careful * it doesn't free currently pointer/page tables anymore but it * wasn't used anyway and might be added later. */ void __iounmap(void __iomem *addr) void iounmap(void __iomem *addr) { struct vm_struct *p; Loading @@ -173,4 +173,4 @@ void __iounmap(void __iomem *addr) pr_err("iounmap: bad address %p\n", addr); kfree(p); } EXPORT_SYMBOL(__iounmap); EXPORT_SYMBOL(iounmap); Loading
arch/nios2/include/asm/io.h +1 −6 Original line number Diff line number Diff line Loading @@ -26,12 +26,7 @@ #define writel_relaxed(x, addr) writel(x, addr) void __iomem *ioremap(unsigned long physaddr, unsigned long size); extern void __iounmap(void __iomem *addr); static inline void iounmap(void __iomem *addr) { __iounmap(addr); } void iounmap(void __iomem *addr); /* Pages to physical address... */ #define page_to_phys(page) virt_to_phys(page_to_virt(page)) Loading
arch/nios2/mm/ioremap.c +3 −3 Original line number Diff line number Diff line Loading @@ -157,11 +157,11 @@ void __iomem *ioremap(unsigned long phys_addr, unsigned long size) EXPORT_SYMBOL(ioremap); /* * __iounmap unmaps nearly everything, so be careful * iounmap unmaps nearly everything, so be careful * it doesn't free currently pointer/page tables anymore but it * wasn't used anyway and might be added later. */ void __iounmap(void __iomem *addr) void iounmap(void __iomem *addr) { struct vm_struct *p; Loading @@ -173,4 +173,4 @@ void __iounmap(void __iomem *addr) pr_err("iounmap: bad address %p\n", addr); kfree(p); } EXPORT_SYMBOL(__iounmap); EXPORT_SYMBOL(iounmap);