Re: [RFC] arm: Add generic smc wrapper

From: Arnd Bergmann
Date: Fri Oct 02 2015 - 18:16:16 EST


On Friday 02 October 2015 13:13:24 kbuild test robot wrote:
>
> 15
> 16 #include <asm/opcodes-sec.h>
> 17
> 18 /* int invoke_smc(u32 function_id, u32 arg0, u32 arg1, u32 arg2) */
> 19 ENTRY(invoke_smc)
> 20 __SMC(0)
> > 21 bx lr
> 22 ENDPROC(invoke_smc)
>
>

Maybe compile this only for ARMv6 and ARMv7? The error was for an ARMv3/v4 build,
which has neither SMC nor bx.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/