Skip to content
Commit 98beb3ed authored by KP Singh's avatar KP Singh Committed by Daniel Borkmann
Browse files

samples/bpf: Add a workaround for asm_inline

This was added in commit eb111869 ("compiler-types.h: add asm_inline
definition") and breaks samples/bpf as clang does not support asm __inline.

Fixes: eb111869

 ("compiler-types.h: add asm_inline definition")
Co-developed-by: default avatarFlorent Revest <revest@google.com>
Signed-off-by: default avatarFlorent Revest <revest@google.com>
Signed-off-by: default avatarKP Singh <kpsingh@google.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarSong Liu <songliubraving@fb.com>
Acked-by: default avatarAndrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191002191652.11432-1-kpsingh@chromium.org
parent df551058
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment