diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-03 03:47:16 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-03 03:47:16 +0300 |
| commit | b132e4a25dccf5d5857e6ce2d96541be51aa9c5e (patch) | |
| tree | 64a6474bc7c218ff228469fda4600556217939b8 /tools/include/linux | |
| parent | b3addcf0d1f04f53fcc302577d5a5e964c18531a (diff) | |
| parent | afbbc7913a288c29616bd31ae612548f6475151a (diff) | |
| download | linux-b132e4a25dccf5d5857e6ce2d96541be51aa9c5e.tar.xz | |
Merge tag 'fixes-for-v4.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
Felipe writes:
usb: fixes for v4.12-rc4
A fix to a really old synchronization bug on mass storage gadget.
Support for Meson8 SoCs on dwc2
Synchronization fixes on renesas USB driver.
Diffstat (limited to 'tools/include/linux')
| -rw-r--r-- | tools/include/linux/filter.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/include/linux/filter.h b/tools/include/linux/filter.h index 390d7c9685fd..4ce25d43e8e3 100644 --- a/tools/include/linux/filter.h +++ b/tools/include/linux/filter.h @@ -208,6 +208,16 @@ .off = OFF, \ .imm = IMM }) +/* Unconditional jumps, goto pc + off16 */ + +#define BPF_JMP_A(OFF) \ + ((struct bpf_insn) { \ + .code = BPF_JMP | BPF_JA, \ + .dst_reg = 0, \ + .src_reg = 0, \ + .off = OFF, \ + .imm = 0 }) + /* Function call */ #define BPF_EMIT_CALL(FUNC) \ |
