mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
selftests/bpf: Fix progs/find_vma_fail1.c build error.
[ Upstream commit32513d40d9
] The commit11e456cae9
("selftests/bpf: Fix compilation errors: Assign a value to a constant") fixed the issue cleanly in bpf-next. This is an alternative fix in bpf tree to avoid merge conflict between bpf and bpf-next. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ac5866fcb6
commit
3565e0b6bc
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
/* Copyright (c) 2021 Facebook */
|
||||
#include "vmlinux.h"
|
||||
#include <bpf/bpf_helpers.h>
|
||||
#define vm_flags vm_start
|
||||
|
||||
char _license[] SEC("license") = "GPL";
|
||||
|
||||
|
|
Loading…
Reference in a new issue