OSDN Git Service

ARM: kvm: fix a bad BSYM() usage
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Apr 2015 13:16:05 +0000 (14:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 May 2015 16:33:47 +0000 (17:33 +0100)
commit5890298a834c04aaa9b5fb576e5f2b77e79ab38d
tree901a5c333782769f7f29e2f0842d9cd3cea84045
parentb787f68c36d49bb1d9236f403813641efa74a031
ARM: kvm: fix a bad BSYM() usage

BSYM() should only be used when refering to local symbols in the same
assembly file which are resolved by the assembler, and not for
linker-fixed up symbols.  The use of BSYM() with panic is incorrect as
the linker is involved in fixing up this relocation, and it knows
whether panic() is ARM or Thumb.

Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kvm/interrupts.S