projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb52d58
)
unicore32: delete specified xlate_dev_mem_ptr
author
Guan Xuetao
<
[email protected]
>
Thu, 18 Aug 2011 07:43:10 +0000
(15:43 +0800)
committer
Guan Xuetao
<
[email protected]
>
Tue, 10 Jan 2012 02:29:41 +0000
(10:29 +0800)
For the commit <
f1ecc69838a2d7c8a3e1909f637d4083c071777d
> 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 <
[email protected]
>
Cc: Arnd Bergmann <
[email protected]
>
Cc: Jonas Bonn <
[email protected]
>
arch/unicore32/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/unicore32/include/asm/io.h
b/arch/unicore32/include/asm/io.h
index 1a5c5a5eb39c8f0f27fa37c4fa526a16c5d9a6f2..a75ad0b117ccd7d34b71495c0d30b19ebceed506 100644
(file)
--- a/
arch/unicore32/include/asm/io.h
+++ b/
arch/unicore32/include/asm/io.h
@@
-39,13
+39,6
@@
extern void __uc32_iounmap(volatile void __iomem *addr);
#define ioremap_cached(cookie, size) __uc32_ioremap_cached(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)