Re: linux-next: build warning after merge of the rcu tree

From: Paul E. McKenney
Date: Mon Mar 09 2020 - 22:49:45 EST


On Tue, Mar 10, 2020 at 01:27:09PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the rcu tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> WARNING: "rcu_tasks_rude_wait_gp" [vmlinux] is a static EXPORT_SYMBOL_GPL

Good catch, will fix, thank you!

> Introduced by commit
>
> cbd703932774 ("rcu-tasks: Add an RCU-tasks rude variant")
>
> Why is all that code in a header file? Do you intend to have those
> functions defined in each C file that includes kernel/rcu/tasks.h?

Same setup as for tree_plugin.h, tree_exp.h, tree_stall.h, and so in
in that same directory. Plugins of various sorts.

Thanx, Paul