armv8: semihosting: do not inline trap call
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Mar 2015 10:06:10 +0000 (11:06 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 28 Mar 2015 16:07:45 +0000 (12:07 -0400)
commite769f68613ee4f84c8e2aea784335df74ceea397
tree3a86b64771fb13900dd2b3e24c0999e4e3e03ae6
parent8c2492901998a76e083ed0875372c141da084d86
armv8: semihosting: do not inline trap call

The semihosting trap call does not like being inlined, probably
because that will mean register reordering screwing up the return
value in r0, so tag this function "noinline".

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/lib/semihosting.c