bpf/local_storage: Fix build without CONFIG_CGROUP
[linux-2.6-microblaze.git] / kernel / bpf / local_storage.c
index 3b2c701..571bb35 100644 (file)
@@ -9,12 +9,12 @@
 #include <linux/slab.h>
 #include <uapi/linux/btf.h>
 
-#include "../cgroup/cgroup-internal.h"
-
 DEFINE_PER_CPU(struct bpf_cgroup_storage*, bpf_cgroup_storage[MAX_BPF_CGROUP_STORAGE_TYPE]);
 
 #ifdef CONFIG_CGROUP_BPF
 
+#include "../cgroup/cgroup-internal.h"
+
 #define LOCAL_STORAGE_CREATE_FLAG_MASK                                 \
        (BPF_F_NUMA_NODE | BPF_F_ACCESS_MASK)