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 | |
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')
-rw-r--r-- | arch/powerpc/kernel/iomap.c | 20 | ||||
-rw-r--r-- | arch/powerpc/sysdev/qe_lib/qe_ic.c | 4 |
2 files changed, 12 insertions, 12 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 | } |
diff --git a/arch/powerpc/sysdev/qe_lib/qe_ic.c b/arch/powerpc/sysdev/qe_lib/qe_ic.c index 908568f4dd84..4d1dcb45963d 100644 --- a/arch/powerpc/sysdev/qe_lib/qe_ic.c +++ b/arch/powerpc/sysdev/qe_lib/qe_ic.c | |||
@@ -323,7 +323,7 @@ unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic) | |||
323 | return irq_linear_revmap(qe_ic->irqhost, irq); | 323 | return irq_linear_revmap(qe_ic->irqhost, irq); |
324 | } | 324 | } |
325 | 325 | ||
326 | void fastcall qe_ic_cascade_low(unsigned int irq, struct irq_desc *desc) | 326 | void qe_ic_cascade_low(unsigned int irq, struct irq_desc *desc) |
327 | { | 327 | { |
328 | struct qe_ic *qe_ic = desc->handler_data; | 328 | struct qe_ic *qe_ic = desc->handler_data; |
329 | unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic); | 329 | unsigned int cascade_irq = qe_ic_get_low_irq(qe_ic); |
@@ -332,7 +332,7 @@ void fastcall qe_ic_cascade_low(unsigned int irq, struct irq_desc *desc) | |||
332 | generic_handle_irq(cascade_irq); | 332 | generic_handle_irq(cascade_irq); |
333 | } | 333 | } |
334 | 334 | ||
335 | void fastcall qe_ic_cascade_high(unsigned int irq, struct irq_desc *desc) | 335 | void qe_ic_cascade_high(unsigned int irq, struct irq_desc *desc) |
336 | { | 336 | { |
337 | struct qe_ic *qe_ic = desc->handler_data; | 337 | struct qe_ic *qe_ic = desc->handler_data; |
338 | unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic); | 338 | unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic); |