diff options
author | Abhijit Ayarekar <abhijit.ayarekar@caviumnetworks.com> | 2017-10-13 12:24:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-16 21:04:32 +0100 |
commit | 9db9583839b760fc492a7b288edfe2213184a579 (patch) | |
tree | ba6249a97b191b520e42d10352940e0e437dcc2e /samples/uhid | |
parent | 745482e0c03793522fa19f06e6249b521d6adca1 (diff) | |
download | op-kernel-dev-9db9583839b760fc492a7b288edfe2213184a579.zip op-kernel-dev-9db9583839b760fc492a7b288edfe2213184a579.tar.gz |
bpf: Add -target to clang switch while cross compiling.
Update to llvm excludes assembly instructions.
llvm git revision is below
commit 65fad7c26569 ("bpf: add inline-asm support")
This change will be part of llvm release 6.0
__ASM_SYSREG_H define is not required for native compile.
-target switch includes appropriate target specific files
while cross compiling
Tested on x86 and arm64.
Signed-off-by: Abhijit Ayarekar <abhijit.ayarekar@caviumnetworks.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions