diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-01-26 02:52:27 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-01-26 02:52:27 -0500 |
commit | 8943212c97cc56d4dcc853a097740e327fe8a6fe (patch) | |
tree | 4735ebe08c7b37178c52f04ac482b12a8f31aa45 /arch/powerpc/kernel/iomap.c | |
parent | 126186a055d965d5a7b1ab560e343ef70694f349 (diff) |
[POWERPC] Remove fastcall function attribute
fastcall is an x86 specific function attribute and has no business in ppc code
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/iomap.c')
-rw-r--r-- | arch/powerpc/kernel/iomap.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/iomap.c b/arch/powerpc/kernel/iomap.c index c68113371050..601ef79a5916 100644 --- a/arch/powerpc/kernel/iomap.c +++ b/arch/powerpc/kernel/iomap.c | |||
@@ -12,23 +12,23 @@ | |||
12 | * Here comes the ppc64 implementation of the IOMAP | 12 | * Here comes the ppc64 implementation of the IOMAP |
13 | * interfaces. | 13 | * interfaces. |
14 | */ | 14 | */ |
15 | unsigned int fastcall ioread8(void __iomem *addr) | 15 | unsigned int ioread8(void __iomem *addr) |
16 | { | 16 | { |
17 | return readb(addr); | 17 | return readb(addr); |
18 | } | 18 | } |
19 | unsigned int fastcall ioread16(void __iomem *addr) | 19 | unsigned int ioread16(void __iomem *addr) |
20 | { | 20 | { |
21 | return readw(addr); | 21 | return readw(addr); |
22 | } | 22 | } |
23 | unsigned int fastcall ioread16be(void __iomem *addr) | 23 | unsigned int ioread16be(void __iomem *addr) |
24 | { | 24 | { |
25 | return in_be16(addr); | 25 | return in_be16(addr); |
26 | } | 26 | } |
27 | unsigned int fastcall ioread32(void __iomem *addr) | 27 | unsigned int ioread32(void __iomem *addr) |
28 | { | 28 | { |
29 | return readl(addr); | 29 | return readl(addr); |
30 | } | 30 | } |
31 | unsigned int fastcall ioread32be(void __iomem *addr) | 31 | unsigned int ioread32be(void __iomem *addr) |
32 | { | 32 | { |
33 | return in_be32(addr); | 33 | return in_be32(addr); |
34 | } | 34 | } |
@@ -38,23 +38,23 @@ EXPORT_SYMBOL(ioread16be); | |||
38 | EXPORT_SYMBOL(ioread32); | 38 | EXPORT_SYMBOL(ioread32); |
39 | EXPORT_SYMBOL(ioread32be); | 39 | EXPORT_SYMBOL(ioread32be); |
40 | 40 | ||
41 | void fastcall iowrite8(u8 val, void __iomem *addr) | 41 | void iowrite8(u8 val, void __iomem *addr) |
42 | { | 42 | { |
43 | writeb(val, addr); | 43 | writeb(val, addr); |
44 | } | 44 | } |
45 | void fastcall iowrite16(u16 val, void __iomem *addr) | 45 | void iowrite16(u16 val, void __iomem *addr) |
46 | { | 46 | { |
47 | writew(val, addr); | 47 | writew(val, addr); |
48 | } | 48 | } |
49 | void fastcall iowrite16be(u16 val, void __iomem *addr) | 49 | void iowrite16be(u16 val, void __iomem *addr) |
50 | { | 50 | { |
51 | out_be16(addr, val); | 51 | out_be16(addr, val); |
52 | } | 52 | } |
53 | void fastcall iowrite32(u32 val, void __iomem *addr) | 53 | void iowrite32(u32 val, void __iomem *addr) |
54 | { | 54 | { |
55 | writel(val, addr); | 55 | writel(val, addr); |
56 | } | 56 | } |
57 | void fastcall iowrite32be(u32 val, void __iomem *addr) | 57 | void iowrite32be(u32 val, void __iomem *addr) |
58 | { | 58 | { |
59 | out_be32(addr, val); | 59 | out_be32(addr, val); |
60 | } | 60 | } |