[RFC] arm: Add generic smc wrapper

Arnd Bergmann arnd at arndb.de
Fri Oct 2 15:16:00 PDT 2015


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



More information about the linux-arm-kernel mailing list