[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>
This commit is contained in:
parent
126186a055
commit
8943212c97
|
@ -12,23 +12,23 @@
|
|||
* Here comes the ppc64 implementation of the IOMAP
|
||||
* interfaces.
|
||||
*/
|
||||
unsigned int fastcall ioread8(void __iomem *addr)
|
||||
unsigned int ioread8(void __iomem *addr)
|
||||
{
|
||||
return readb(addr);
|
||||
}
|
||||
unsigned int fastcall ioread16(void __iomem *addr)
|
||||
unsigned int ioread16(void __iomem *addr)
|
||||
{
|
||||
return readw(addr);
|
||||
}
|
||||
unsigned int fastcall ioread16be(void __iomem *addr)
|
||||
unsigned int ioread16be(void __iomem *addr)
|
||||
{
|
||||
return in_be16(addr);
|
||||
}
|
||||
unsigned int fastcall ioread32(void __iomem *addr)
|
||||
unsigned int ioread32(void __iomem *addr)
|
||||
{
|
||||
return readl(addr);
|
||||
}
|
||||
unsigned int fastcall ioread32be(void __iomem *addr)
|
||||
unsigned int ioread32be(void __iomem *addr)
|
||||
{
|
||||
return in_be32(addr);
|
||||
}
|
||||
|
@ -38,23 +38,23 @@ EXPORT_SYMBOL(ioread16be);
|
|||
EXPORT_SYMBOL(ioread32);
|
||||
EXPORT_SYMBOL(ioread32be);
|
||||
|
||||
void fastcall iowrite8(u8 val, void __iomem *addr)
|
||||
void iowrite8(u8 val, void __iomem *addr)
|
||||
{
|
||||
writeb(val, addr);
|
||||
}
|
||||
void fastcall iowrite16(u16 val, void __iomem *addr)
|
||||
void iowrite16(u16 val, void __iomem *addr)
|
||||
{
|
||||
writew(val, addr);
|
||||
}
|
||||
void fastcall iowrite16be(u16 val, void __iomem *addr)
|
||||
void iowrite16be(u16 val, void __iomem *addr)
|
||||
{
|
||||
out_be16(addr, val);
|
||||
}
|
||||
void fastcall iowrite32(u32 val, void __iomem *addr)
|
||||
void iowrite32(u32 val, void __iomem *addr)
|
||||
{
|
||||
writel(val, addr);
|
||||
}
|
||||
void fastcall iowrite32be(u32 val, void __iomem *addr)
|
||||
void iowrite32be(u32 val, void __iomem *addr)
|
||||
{
|
||||
out_be32(addr, val);
|
||||
}
|
||||
|
|
|
@ -323,7 +323,7 @@ unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic)
|
|||
return irq_linear_revmap(qe_ic->irqhost, irq);
|
||||
}
|
||||
|
||||
void fastcall qe_ic_cascade_low(unsigned int irq, struct irq_desc *desc)
|
||||
void qe_ic_cascade_low(unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
struct qe_ic *qe_ic = desc->handler_data;
|
||||
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)
|
|||
generic_handle_irq(cascade_irq);
|
||||
}
|
||||
|
||||
void fastcall qe_ic_cascade_high(unsigned int irq, struct irq_desc *desc)
|
||||
void qe_ic_cascade_high(unsigned int irq, struct irq_desc *desc)
|
||||
{
|
||||
struct qe_ic *qe_ic = desc->handler_data;
|
||||
unsigned int cascade_irq = qe_ic_get_high_irq(qe_ic);
|
||||
|
|
Loading…
Reference in New Issue