summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-10-08 14:41:27 +0200
committerMark Brown <broonie@kernel.org>2026-10-08 14:41:27 +0200
commit9f19c8a019d7c1fb720133ca86154be1ccff39b5 (patch)
treea7c9d53fd675abff61a63352822a3939171ad6aa /kernel/bpf/stackmap.c
parent2597b3f0a0e46069ffd754112b2bd33406fb6eec (diff)
parentf52260f49b107fddbcf7c75f9cf2347a5031f0f7 (diff)
downloadlinux-next-9f19c8a019d7c1fb720133ca86154be1ccff39b5.tar.gz
linux-next-9f19c8a019d7c1fb720133ca86154be1ccff39b5.zip
Merge regmap/for-7.4 into regmap-next
Diffstat (limited to 'kernel/bpf/stackmap.c')
-rw-r--r--kernel/bpf/stackmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c
index a839041e0d00..d09d4c3fe547 100644
--- a/kernel/bpf/stackmap.c
+++ b/kernel/bpf/stackmap.c
@@ -875,6 +875,7 @@ BPF_CALL_4(bpf_get_stack_sleepable, struct pt_regs *, regs, void *, buf, u32, si
const struct bpf_func_proto bpf_get_stack_sleepable_proto = {
.func = bpf_get_stack_sleepable,
.gpl_only = true,
+ .might_sleep = true,
.ret_type = RET_INTEGER,
.arg1_type = ARG_PTR_TO_CTX,
.arg2_type = ARG_PTR_TO_UNINIT_MEM,
@@ -928,6 +929,7 @@ BPF_CALL_4(bpf_get_task_stack_sleepable, struct task_struct *, task, void *, buf
const struct bpf_func_proto bpf_get_task_stack_sleepable_proto = {
.func = bpf_get_task_stack_sleepable,
.gpl_only = false,
+ .might_sleep = true,
.ret_type = RET_INTEGER,
.arg1_type = ARG_PTR_TO_BTF_ID,
.arg1_btf_id = &btf_tracing_ids[BTF_TRACING_TYPE_TASK],