]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/bpf/arraymap.c
ebpf: include perf_event only where really needed
[karo-tx-linux.git] / kernel / bpf / arraymap.c
index 29ace107f2365c05b97f8f8aba54defeb59a6a78..2fecc4aed119fffa896a667fa2e295aeb370d874 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/slab.h>
 #include <linux/mm.h>
 #include <linux/filter.h>
+#include <linux/perf_event.h>
 
 /* Called from syscall */
 static struct bpf_map *array_map_alloc(union bpf_attr *attr)