Loading arch/csky/include/asm/io.h +0 −2 Original line number Diff line number Diff line Loading @@ -36,13 +36,11 @@ /* * I/O memory mapping functions. */ extern void __iomem *ioremap_cache(phys_addr_t addr, size_t size); extern void __iomem *__ioremap(phys_addr_t addr, size_t size, pgprot_t prot); extern void iounmap(void *addr); #define ioremap(addr, size) __ioremap((addr), (size), pgprot_noncached(PAGE_KERNEL)) #define ioremap_wc(addr, size) __ioremap((addr), (size), pgprot_writecombine(PAGE_KERNEL)) #define ioremap_cache ioremap_cache #include <asm-generic/io.h> Loading arch/csky/mm/ioremap.c +0 −7 Original line number Diff line number Diff line Loading @@ -44,13 +44,6 @@ void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) } EXPORT_SYMBOL(__ioremap); void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size) { return __ioremap_caller(phys_addr, size, PAGE_KERNEL, __builtin_return_address(0)); } EXPORT_SYMBOL(ioremap_cache); void iounmap(void __iomem *addr) { vunmap((void *)((unsigned long)addr & PAGE_MASK)); Loading Loading
arch/csky/include/asm/io.h +0 −2 Original line number Diff line number Diff line Loading @@ -36,13 +36,11 @@ /* * I/O memory mapping functions. */ extern void __iomem *ioremap_cache(phys_addr_t addr, size_t size); extern void __iomem *__ioremap(phys_addr_t addr, size_t size, pgprot_t prot); extern void iounmap(void *addr); #define ioremap(addr, size) __ioremap((addr), (size), pgprot_noncached(PAGE_KERNEL)) #define ioremap_wc(addr, size) __ioremap((addr), (size), pgprot_writecombine(PAGE_KERNEL)) #define ioremap_cache ioremap_cache #include <asm-generic/io.h> Loading
arch/csky/mm/ioremap.c +0 −7 Original line number Diff line number Diff line Loading @@ -44,13 +44,6 @@ void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) } EXPORT_SYMBOL(__ioremap); void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size) { return __ioremap_caller(phys_addr, size, PAGE_KERNEL, __builtin_return_address(0)); } EXPORT_SYMBOL(ioremap_cache); void iounmap(void __iomem *addr) { vunmap((void *)((unsigned long)addr & PAGE_MASK)); Loading