commit | 8783dd3a37a5853689e1a8fa728827a50905b912 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <[email protected]> | Tue Mar 04 16:40:30 2014 -0800 |
committer | Thomas Gleixner <[email protected]> | Wed Mar 12 13:00:41 2014 +0100 |
tree | 8abda8d6c438b4eeae6554a77c3ad82ca3a77f56 | |
parent | 7ff42473ebdee32ed3ac34f6bf4b4080c7455840 [diff] [blame] |
irqchip: Remove asmlinkage from static functions LTO patches add __visible to the asmlinkage define, causing compilation warnings like: drivers/irqchip/irq-gic.c:283:1: warning: 'externally_visible' attribute have effect only on public objects [-Wattributes] Drop asmlinkage here to avoid such warnings. Reported-by: Olof's autobuilder <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Russell King <[email protected]> Cc: Josh Cartwright <[email protected]> Cc: Andi Kleen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index abeb5a9..531769b 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c
@@ -279,7 +279,7 @@ #define gic_set_wake NULL #endif -static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs) +static void __exception_irq_entry gic_handle_irq(struct pt_regs *regs) { u32 irqstat, irqnr; struct gic_chip_data *gic = &gic_data[0];