OSDN Git Service

rcu: Make rcu/tiny_plugin.h explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 8 Jan 2016 00:05:19 +0000 (19:05 -0500)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 24 Feb 2016 03:59:55 +0000 (19:59 -0800)
commit9fc9204ef9fdbe550fd81a554abce2b210e63e49
tree1c5d3e19fec381e14e034a39828b8b3bd0db8715
parentb354286effa52da6cb1b1f16604d41ff81b8c445
rcu: Make rcu/tiny_plugin.h explicitly non-modular

The Kconfig currently controlling compilation of this code is:

init/Kconfig:config TINY_RCU
init/Kconfig:   bool

...meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the code there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.  We could
consider moving this to an earlier initcall (subsys?) if desired.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tiny_plugin.h