Unverified Commit c69d334b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!300 bpf: Fix build error: linux/kabi.h: No such file or directory

Merge Pull Request from: @barry19901226 
 
 The build error as follows:

 In file included from net/bpfilter/main.c:9:
 net/bpfilter/../../include/uapi/linux/bpf.h:13:10: fatal error: linux/kabi.h: No such file or directory
    13 | #include <linux/kabi.h>
       |          ^~~~~~~~~~~~~~

 kabi.h can not be find in user mode code, so remove
 <include/kabi.h> from include/uapi/linux/bpf.h. And
 use __GENKSYMS__ to fix kabi break. 
 
Link:https://gitee.com/openeuler/kernel/pulls/300

 
Reviewed-by: default avatarZucheng Zheng <zhengzucheng@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents d4a78fdf 09ebbfe0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment