[PATCH bpf-next v5 1/3] add includes masked by cgroup -> bpf dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: Jakub Kicinski <kuba@xxxxxxxxxx>
---
CC: hca@xxxxxxxxxxxxx
CC: gor@xxxxxxxxxxxxx
CC: borntraeger@xxxxxxxxxxxxx
CC: agordeev@xxxxxxxxxxxxx
CC: peterz@xxxxxxxxxxxxx
CC: mingo@xxxxxxxxxx
CC: acme@xxxxxxxxxx
CC: mark.rutland@xxxxxxx
CC: alexander.shishkin@xxxxxxxxxxxxxxx
CC: jolsa@xxxxxxxxxx
CC: namhyung@xxxxxxxxxx
CC: ast@xxxxxxxxxx
CC: daniel@xxxxxxxxxxxxx
CC: andrii@xxxxxxxxxx
CC: kafai@xxxxxx
CC: songliubraving@xxxxxx
CC: yhs@xxxxxx
CC: john.fastabend@xxxxxxxxx
CC: kpsingh@xxxxxxxxxx
CC: peterx@xxxxxxxxxx
CC: akpm@xxxxxxxxxxxxxxxxxxxx
CC: linux-s390@xxxxxxxxxxxxxxx
CC: linux-perf-users@xxxxxxxxxxxxxxx
CC: bpf@xxxxxxxxxxxxxxx
---
 arch/s390/mm/hugetlbpage.c | 1 +
 include/linux/perf_event.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/s390/mm/hugetlbpage.c b/arch/s390/mm/hugetlbpage.c
index da36d13ffc16..082793d497ec 100644
--- a/arch/s390/mm/hugetlbpage.c
+++ b/arch/s390/mm/hugetlbpage.c
@@ -9,6 +9,7 @@
 #define KMSG_COMPONENT "hugetlb"
 #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
 
+#include <asm/pgalloc.h>
 #include <linux/mm.h>
 #include <linux/hugetlb.h>
 #include <linux/mman.h>
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 0dcfd265beed..4a021149eaf0 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -611,6 +611,7 @@ struct swevent_hlist {
 #define PERF_ATTACH_SCHED_CB	0x20
 #define PERF_ATTACH_CHILD	0x40
 
+struct bpf_prog;
 struct perf_cgroup;
 struct perf_buffer;
 
-- 
2.31.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux