--- include/uapi/linux/bpf.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index 211b9d902006..dec062fa0604 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -49,6 +49,12 @@ #define BPF_XCHG (0xe0 | BPF_FETCH) /* atomic exchange */ #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ +#define __bpf_md_ptr(type, name) \ +union { \ + type name; \ + __u64 :64; \ +} __attribute__((aligned(8))) + /* Register numbers */ enum bpf_reg { BPF_REG_0 = 0, @@ -5285,12 +5291,6 @@ enum { BPF_F_EXCLUDE_INGRESS = (1ULL << 4), }; -#define __bpf_md_ptr(type, name) \ -union { \ - type name; \ - __u64 :64; \ -} __attribute__((aligned(8))) - /* user accessible mirror of in-kernel sk_buff. * new fields can only be added to the end of this structure */ -- 2.30.2