Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hexagon: remove __iounmap

No need to indirect iounmap for hexagon.

Signed-off-by: Christoph Hellwig <hch@lst.de>

+3 -8
+1 -6
arch/hexagon/include/asm/io.h
··· 27 27 extern int remap_area_pages(unsigned long start, unsigned long phys_addr, 28 28 unsigned long end, unsigned long flags); 29 29 30 - extern void __iounmap(const volatile void __iomem *addr); 30 + extern void iounmap(const volatile void __iomem *addr); 31 31 32 32 /* Defined in lib/io.c, needed for smc91x driver. */ 33 33 extern void __raw_readsw(const void __iomem *addr, void *data, int wordlen); ··· 174 174 void __iomem *ioremap(unsigned long phys_addr, unsigned long size); 175 175 #define ioremap_nocache ioremap 176 176 177 - 178 - static inline void iounmap(volatile void __iomem *addr) 179 - { 180 - __iounmap(addr); 181 - } 182 177 183 178 #define __raw_writel writel 184 179
+1 -1
arch/hexagon/kernel/hexagon_ksyms.c
··· 14 14 EXPORT_SYMBOL(__clear_user_hexagon); 15 15 EXPORT_SYMBOL(raw_copy_from_user); 16 16 EXPORT_SYMBOL(raw_copy_to_user); 17 - EXPORT_SYMBOL(__iounmap); 17 + EXPORT_SYMBOL(iounmap); 18 18 EXPORT_SYMBOL(__strnlen_user); 19 19 EXPORT_SYMBOL(__vmgetie); 20 20 EXPORT_SYMBOL(__vmsetie);
+1 -1
arch/hexagon/mm/ioremap.c
··· 38 38 return (void __iomem *) (offset + addr); 39 39 } 40 40 41 - void __iounmap(const volatile void __iomem *addr) 41 + void iounmap(const volatile void __iomem *addr) 42 42 { 43 43 vunmap((void *) ((unsigned long) addr & PAGE_MASK)); 44 44 }