diff mbox series

[RFC] bpf: __pcpu_scope_irq_work can be static

Message ID 20180502033425.GA96582@lkp-sb-ep06
State RFC, archived
Delegated to: BPF Maintainers
Headers show
Series [RFC] bpf: __pcpu_scope_irq_work can be static | expand

Commit Message

kernel test robot May 2, 2018, 3:34 a.m. UTC
Fixes: 1bd02fb7c12e ("bpf: enable stackmap with build_id in nmi context")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 stackmap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/kernel/bpf/stackmap.c b/kernel/bpf/stackmap.c
index c33fec1..5d0a951 100644
--- a/kernel/bpf/stackmap.c
+++ b/kernel/bpf/stackmap.c
@@ -48,7 +48,7 @@  static void up_read_work(struct irq_work *entry)
 	work->sem = NULL;
 }
 
-DEFINE_PER_CPU(struct stack_map_irq_work, irq_work);
+static DEFINE_PER_CPU(struct stack_map_irq_work, irq_work);
 
 static inline bool stack_map_use_build_id(struct bpf_map *map)
 {