-
由 Paul E. McKenney 提交于
mainline inclusion from mainline-5.1-rc1 commit e838a7d66ee2bb7abb46214cb9a3505749e29505 category: bugfix bugzilla: 11177 CVE: NA ------------------------------------------------- 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: NIngo Molnar <mingo@kernel.org> Signed-off-by: NPaul E. McKenney <paulmck@linux.ibm.com> Acked-by: NIngo Molnar <mingo@kernel.org> (cherry picked from commit e838a7d66ee2bb7abb46214cb9a3505749e29505) Signed-off-by: NZhen Lei <thunder.leizhen@huawei.com> Reviewed-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
5a3c736b