aboutsummaryrefslogtreecommitdiffstats
path: root/lib/iomap.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-08 07:19:55 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:31 -0500
commit9f741cb8fecef923cce1dff820ac6aa78c12d136 (patch)
treea033810f71f1b98f5ba1d1949230178ca505a1bf /lib/iomap.c
parent7ad5b3a505e68cfdc342933d6e0fc0eaa5e0a4f7 (diff)
lib: remove fastcall from lib/*
[akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/iomap.c')
-rw-r--r--lib/iomap.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/iomap.c b/lib/iomap.c
index 72c42687ba10..db004a9ff509 100644
--- a/lib/iomap.c
+++ b/lib/iomap.c
@@ -69,27 +69,27 @@ static void bad_io_access(unsigned long port, const char *access)
69#define mmio_read32be(addr) be32_to_cpu(__raw_readl(addr)) 69#define mmio_read32be(addr) be32_to_cpu(__raw_readl(addr))
70#endif 70#endif
71 71
72unsigned int fastcall ioread8(void __iomem *addr) 72unsigned int ioread8(void __iomem *addr)
73{ 73{
74 IO_COND(addr, return inb(port), return readb(addr)); 74 IO_COND(addr, return inb(port), return readb(addr));
75 return 0xff; 75 return 0xff;
76} 76}
77unsigned int fastcall ioread16(void __iomem *addr) 77unsigned int ioread16(void __iomem *addr)
78{ 78{
79 IO_COND(addr, return inw(port), return readw(addr)); 79 IO_COND(addr, return inw(port), return readw(addr));
80 return 0xffff; 80 return 0xffff;
81} 81}
82unsigned int fastcall ioread16be(void __iomem *addr) 82unsigned int ioread16be(void __iomem *addr)
83{ 83{
84 IO_COND(addr, return pio_read16be(port), return mmio_read16be(addr)); 84 IO_COND(addr, return pio_read16be(port), return mmio_read16be(addr));
85 return 0xffff; 85 return 0xffff;
86} 86}
87unsigned int fastcall ioread32(void __iomem *addr) 87unsigned int ioread32(void __iomem *addr)
88{ 88{
89 IO_COND(addr, return inl(port), return readl(addr)); 89 IO_COND(addr, return inl(port), return readl(addr));
90 return 0xffffffff; 90 return 0xffffffff;
91} 91}
92unsigned int fastcall ioread32be(void __iomem *addr) 92unsigned int ioread32be(void __iomem *addr)
93{ 93{
94 IO_COND(addr, return pio_read32be(port), return mmio_read32be(addr)); 94 IO_COND(addr, return pio_read32be(port), return mmio_read32be(addr));
95 return 0xffffffff; 95 return 0xffffffff;
@@ -110,23 +110,23 @@ EXPORT_SYMBOL(ioread32be);
110#define mmio_write32be(val,port) __raw_writel(be32_to_cpu(val),port) 110#define mmio_write32be(val,port) __raw_writel(be32_to_cpu(val),port)
111#endif 111#endif
112 112
113void fastcall iowrite8(u8 val, void __iomem *addr) 113void iowrite8(u8 val, void __iomem *addr)
114{ 114{
115 IO_COND(addr, outb(val,port), writeb(val, addr)); 115 IO_COND(addr, outb(val,port), writeb(val, addr));
116} 116}
117void fastcall iowrite16(u16 val, void __iomem *addr) 117void iowrite16(u16 val, void __iomem *addr)
118{ 118{
119 IO_COND(addr, outw(val,port), writew(val, addr)); 119 IO_COND(addr, outw(val,port), writew(val, addr));
120} 120}
121void fastcall iowrite16be(u16 val, void __iomem *addr) 121void iowrite16be(u16 val, void __iomem *addr)
122{ 122{
123 IO_COND(addr, pio_write16be(val,port), mmio_write16be(val, addr)); 123 IO_COND(addr, pio_write16be(val,port), mmio_write16be(val, addr));
124} 124}
125void fastcall iowrite32(u32 val, void __iomem *addr) 125void iowrite32(u32 val, void __iomem *addr)
126{ 126{
127 IO_COND(addr, outl(val,port), writel(val, addr)); 127 IO_COND(addr, outl(val,port), writel(val, addr));
128} 128}
129void fastcall iowrite32be(u32 val, void __iomem *addr) 129void iowrite32be(u32 val, void __iomem *addr)
130{ 130{
131 IO_COND(addr, pio_write32be(val,port), mmio_write32be(val, addr)); 131 IO_COND(addr, pio_write32be(val,port), mmio_write32be(val, addr));
132} 132}
@@ -193,15 +193,15 @@ static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count)
193} 193}
194#endif 194#endif
195 195
196void fastcall ioread8_rep(void __iomem *addr, void *dst, unsigned long count) 196void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
197{ 197{
198 IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count)); 198 IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count));
199} 199}
200void fastcall ioread16_rep(void __iomem *addr, void *dst, unsigned long count) 200void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
201{ 201{
202 IO_COND(addr, insw(port,dst,count), mmio_insw(addr, dst, count)); 202 IO_COND(addr, insw(port,dst,count), mmio_insw(addr, dst, count));
203} 203}
204void fastcall ioread32_rep(void __iomem *addr, void *dst, unsigned long count) 204void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
205{ 205{
206 IO_COND(addr, insl(port,dst,count), mmio_insl(addr, dst, count)); 206 IO_COND(addr, insl(port,dst,count), mmio_insl(addr, dst, count));
207} 207}
@@ -209,15 +209,15 @@ EXPORT_SYMBOL(ioread8_rep);
209EXPORT_SYMBOL(ioread16_rep); 209EXPORT_SYMBOL(ioread16_rep);
210EXPORT_SYMBOL(ioread32_rep); 210EXPORT_SYMBOL(ioread32_rep);
211 211
212void fastcall iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) 212void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count)
213{ 213{
214 IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count)); 214 IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count));
215} 215}
216void fastcall iowrite16_rep(void __iomem *addr, const void *src, unsigned long count) 216void iowrite16_rep(void __iomem *addr, const void *src, unsigned long count)
217{ 217{
218 IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count)); 218 IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count));
219} 219}
220void fastcall iowrite32_rep(void __iomem *addr, const void *src, unsigned long count) 220void iowrite32_rep(void __iomem *addr, const void *src, unsigned long count)
221{ 221{
222 IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count)); 222 IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count));
223} 223}