diff options
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | 2005-09-09 11:50:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 13:31:57 -0400 |
commit | 6c9afc655d4df902211d00a437e893881cdef588 (patch) | |
tree | 27515aaa98945c3df5ca8717876cb06573144eef /arch | |
parent | 2fd9d74b35efa9823f1f7d34cb421e2b9eee9650 (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')
-rw-r--r-- | arch/ppc64/kernel/iomap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/iomap.c b/arch/ppc64/kernel/iomap.c index 153cc8b0f13..09a3062309e 100644 --- a/arch/ppc64/kernel/iomap.c +++ b/arch/ppc64/kernel/iomap.c | |||
@@ -56,15 +56,15 @@ EXPORT_SYMBOL(iowrite32); | |||
56 | */ | 56 | */ |
57 | void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) | 57 | void 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 | } |
61 | void ioread16_rep(void __iomem *addr, void *dst, unsigned long count) | 61 | void 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 | } |
65 | void ioread32_rep(void __iomem *addr, void *dst, unsigned long count) | 65 | void 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 | } |
69 | EXPORT_SYMBOL(ioread8_rep); | 69 | EXPORT_SYMBOL(ioread8_rep); |
70 | EXPORT_SYMBOL(ioread16_rep); | 70 | EXPORT_SYMBOL(ioread16_rep); |
@@ -72,15 +72,15 @@ EXPORT_SYMBOL(ioread32_rep); | |||
72 | 72 | ||
73 | void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) | 73 | void 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 | } |
77 | void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) | 77 | void 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 | } |
81 | void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) | 81 | void 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 | } |
85 | EXPORT_SYMBOL(iowrite8_rep); | 85 | EXPORT_SYMBOL(iowrite8_rep); |
86 | EXPORT_SYMBOL(iowrite16_rep); | 86 | EXPORT_SYMBOL(iowrite16_rep); |