From 5a599e14ed52abe890f37915dc453eee2aa7a778 Mon Sep 17 00:00:00 2001 From: Guan Xuetao Date: Thu, 18 Aug 2011 15:43:10 +0800 Subject: [PATCH] unicore32: delete specified xlate_dev_mem_ptr For the commit has changed xlate_dev_mem_ptr definition in asm-generic/io.h for the systems with an MMU, so delete it from unicore32 specified io.h. Signed-off-by: Guan Xuetao Cc: Arnd Bergmann Cc: Jonas Bonn --- arch/unicore32/include/asm/io.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/unicore32/include/asm/io.h b/arch/unicore32/include/asm/io.h index 2869b68a4528..3e789bddc51a 100644 --- a/arch/unicore32/include/asm/io.h +++ b/arch/unicore32/include/asm/io.h @@ -40,13 +40,6 @@ extern void __uc32_iounmap(volatile void __iomem *addr); #define ioremap_nocache(cookie, size) __uc32_ioremap(cookie, size) #define iounmap(cookie) __uc32_iounmap(cookie) -/* - * Convert a physical pointer to a virtual kernel pointer for /dev/mem - * access - */ -#undef xlate_dev_mem_ptr -#define xlate_dev_mem_ptr(p) __va(p) - #define HAVE_ARCH_PIO_SIZE #define PIO_OFFSET (unsigned int)(PCI_IOBASE) #define PIO_MASK (unsigned int)(IO_SPACE_LIMIT) -- 2.39.5