projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bpf: Add bpf_current_task_under_cgroup helper
[cascardo/linux.git]
/
kernel
/
bpf
/
arraymap.c
diff --git
a/kernel/bpf/arraymap.c
b/kernel/bpf/arraymap.c
index
633a650
..
a2ac051
100644
(file)
--- a/
kernel/bpf/arraymap.c
+++ b/
kernel/bpf/arraymap.c
@@
-538,7
+538,7
@@
static int __init register_perf_event_array_map(void)
}
late_initcall(register_perf_event_array_map);
-#ifdef CONFIG_
SOCK_CGROUP_DATA
+#ifdef CONFIG_
CGROUPS
static void *cgroup_fd_array_get_ptr(struct bpf_map *map,
struct file *map_file /* not used */,
int fd)