irqchip: Remove asmlinkage from static functions
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 5 Mar 2014 00:40:30 +0000 (16:40 -0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 07:37:36 +0000 (09:37 +0200)
commitc0627e3f793af66835fb7440d13f70c23a8ec2fd
tree9b2b4f28673865d7c80f911b3c22a0df351af111
parent7c2849557e72c7b13c3311c7eb5c96d489416e80
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]

  [ Modified for LSK from it's origin commit (see below) to only touch
    the irq-gic.c file so that we have a natural progression of the code
    before factoring out code bits into a library file for GICv3 support
    later - Christoffer ]

Drop asmlinkage here to avoid such warnings.

Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: khilman@linaro.org
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Josh Cartwright <joshc@codeaurora.org>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1393980030-17770-1-git-send-email-sboyd@codeaurora.org
(cherry picked from commit 8783dd3a37a5853689e1a8fa728827a50905b912)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic.c