aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-09 11:50:43 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 13:31:57 -0400
commit6c9afc655d4df902211d00a437e893881cdef588 (patch)
tree27515aaa98945c3df5ca8717876cb06573144eef /arch/ppc64
parent2fd9d74b35efa9823f1f7d34cb421e2b9eee9650 (diff)
[PATCH] basic iomem annotations (ppc64)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64')
-rw-r--r--arch/ppc64/kernel/iomap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/iomap.c b/arch/ppc64/kernel/iomap.c
index 153cc8b0f136..09a3062309e7 100644
--- a/arch/ppc64/kernel/iomap.c
+++ b/arch/ppc64/kernel/iomap.c
@@ -56,15 +56,15 @@ EXPORT_SYMBOL(iowrite32);
56 */ 56 */
57void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) 57void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
58{ 58{
59 _insb((u8 __force *) addr, dst, count); 59 _insb((u8 __iomem *) addr, dst, count);
60} 60}
61void ioread16_rep(void __iomem *addr, void *dst, unsigned long count) 61void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
62{ 62{
63 _insw_ns((u16 __force *) addr, dst, count); 63 _insw_ns((u16 __iomem *) addr, dst, count);
64} 64}
65void ioread32_rep(void __iomem *addr, void *dst, unsigned long count) 65void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
66{ 66{
67 _insl_ns((u32 __force *) addr, dst, count); 67 _insl_ns((u32 __iomem *) addr, dst, count);
68} 68}
69EXPORT_SYMBOL(ioread8_rep); 69EXPORT_SYMBOL(ioread8_rep);
70EXPORT_SYMBOL(ioread16_rep); 70EXPORT_SYMBOL(ioread16_rep);
@@ -72,15 +72,15 @@ EXPORT_SYMBOL(ioread32_rep);
72 72
73void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) 73void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count)
74{ 74{
75 _outsb((u8 __force *) addr, src, count); 75 _outsb((u8 __iomem *) addr, src, count);
76} 76}
77void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) 77void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count)
78{ 78{
79 _outsw_ns((u16 __force *) addr, src, count); 79 _outsw_ns((u16 __iomem *) addr, src, count);
80} 80}
81void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) 81void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count)
82{ 82{
83 _outsl_ns((u32 __force *) addr, src, count); 83 _outsl_ns((u32 __iomem *) addr, src, count);
84} 84}
85EXPORT_SYMBOL(iowrite8_rep); 85EXPORT_SYMBOL(iowrite8_rep);
86EXPORT_SYMBOL(iowrite16_rep); 86EXPORT_SYMBOL(iowrite16_rep);