Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions driver/bpf/quirks.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,13 @@ or GPL2.txt for full copies of the license.
#define BPF_SUPPORTS_RAW_TRACEPOINTS
#endif

/* Redefine asm_volatile_goto to work around clang not supporting it
*/
#include <linux/types.h>

#ifdef asm_volatile_goto
#undef asm_volatile_goto
#define asm_volatile_goto(...) asm volatile("invalid use of asm_volatile_goto")
#endif

#endif