Commit f7ea534a authored by Jakub Kicinski's avatar Jakub Kicinski Committed by Alexei Starovoitov

add includes masked by cgroup -> bpf dependency

cgroup pulls in BPF which pulls in a lot of includes.
We're about to break that chain so fix those who were
depending on it.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211216025538.1649516-2-kuba@kernel.org
parent 1a6369ba
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#define KMSG_COMPONENT "hugetlb" #define KMSG_COMPONENT "hugetlb"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <asm/pgalloc.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/hugetlb.h> #include <linux/hugetlb.h>
#include <linux/mman.h> #include <linux/mman.h>
......
...@@ -611,6 +611,7 @@ struct swevent_hlist { ...@@ -611,6 +611,7 @@ struct swevent_hlist {
#define PERF_ATTACH_SCHED_CB 0x20 #define PERF_ATTACH_SCHED_CB 0x20
#define PERF_ATTACH_CHILD 0x40 #define PERF_ATTACH_CHILD 0x40
struct bpf_prog;
struct perf_cgroup; struct perf_cgroup;
struct perf_buffer; struct perf_buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment