Skip to content

Commit 5b3cc99

Browse files
committed
rcu-tasks: Add #include of rcupdate_trace.h to update.c
Although this is in some strict sense unnecessary, it is good to allow the compiler to compare the function declaration with its definition. This commit therefore adds a #include of linux/rcupdate_trace.h to kernel/rcu/update.c. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 04a3c5a commit 5b3cc99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/rcu/update.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
#include <linux/kprobes.h>
4343
#include <linux/slab.h>
4444
#include <linux/irq_work.h>
45+
#include <linux/rcupdate_trace.h>
4546

4647
#define CREATE_TRACE_POINTS
4748

0 commit comments

Comments
 (0)