[RFC] arm: Add generic smc wrapper

Arnd Bergmann
2015-10-02T22:16:00Z

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