rcuperf: Stop abusing IS_ENABLED()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 28 Dec 2018 15:48:43 +0000 (07:48 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:37:11 +0000 (15:37 -0800)
commite838a7d66ee2bb7abb46214cb9a3505749e29505
tree3170f9570d4ec8ae6957019139c91d5fa47fb116
parent3a6cb58f159e64241b2af9374acad41a70939349
rcuperf: Stop abusing IS_ENABLED()

The ever-evolving IS_ENABLED() macro is intended for CONFIG_* Kconfig
options, but rcuperf currently uses it for the decidedly non-CONFIG_*
MODULE macro.  In the spirit of not inviting trouble, this commit
substitutes tried-and-true #ifdef.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
kernel/rcu/rcuperf.c