firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-include_linux_cgroup-...

22 lines
652 B
Diff

diff -drupN a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h
--- a/include/linux/cgroup-defs.h 2018-08-06 17:23:04.000000000 +0300
+++ b/include/linux/cgroup-defs.h 2022-06-12 05:28:14.000000000 +0300
@@ -16,6 +16,7 @@
#include <linux/percpu-refcount.h>
#include <linux/percpu-rwsem.h>
#include <linux/workqueue.h>
+#include <linux/bpf-cgroup.h>
#ifdef CONFIG_CGROUPS
@@ -301,6 +302,9 @@ struct cgroup {
/* used to schedule release agent */
struct work_struct release_agent_work;
+ /* used to store eBPF programs */
+ struct cgroup_bpf bpf;
+
/* ids of the ancestors at each level including self */
int ancestor_ids[];
};