diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-02 10:14:11 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-02 10:14:11 (GMT) |
commit | bc0f424faa11a2017ba725bb8c5fc481ece7b440 (patch) | |
tree | e6272f37806941443f1ead19f965e8eeb531282c /arch/sh/lib/io.c | |
parent | a2159b52219870553fd67e6456f41cd5225c46c6 (diff) | |
parent | 225c9a8d1da274bf23efec43ec28b1c9e45e12f8 (diff) | |
download | linux-bc0f424faa11a2017ba725bb8c5fc481ece7b440.tar.xz |
Merge branch 'sh/g3-prep'
Diffstat (limited to 'arch/sh/lib/io.c')
-rw-r--r-- | arch/sh/lib/io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/lib/io.c b/arch/sh/lib/io.c index 4f54ec4..88dfe6e 100644 --- a/arch/sh/lib/io.c +++ b/arch/sh/lib/io.c @@ -14,12 +14,12 @@ #include <linux/module.h> #include <linux/io.h> -void __raw_readsl(unsigned long addr, void *datap, int len) +void __raw_readsl(const void __iomem *addr, void *datap, int len) { u32 *data; for (data = datap; (len != 0) && (((u32)data & 0x1f) != 0); len--) - *data++ = ctrl_inl(addr); + *data++ = __raw_readl(addr); if (likely(len >= (0x20 >> 2))) { int tmp2, tmp3, tmp4, tmp5, tmp6; @@ -59,11 +59,11 @@ void __raw_readsl(unsigned long addr, void *datap, int len) } for (; len != 0; len--) - *data++ = ctrl_inl(addr); + *data++ = __raw_readl(addr); } EXPORT_SYMBOL(__raw_readsl); -void __raw_writesl(unsigned long addr, const void *data, int len) +void __raw_writesl(void __iomem *addr, const void *data, int len) { if (likely(len != 0)) { int tmp1; |