rcu: Disable RCU_PERF_TEST and RCU_TORTURE_TEST for usermode Linux

Usermode Linux currently does not implement arch_irqs_disabled_flags(),
which results in a build failure in TASKS_RCU.  Commit 570dd3c74241 ("rcu:
Disable TASKS_RCU for usermode Linux") attempted to fix this by making
TASKS_RCU depend on !UML, which does work in production builds.  However,
test builds that enable either RCU_PERF_TEST or RCU_TORTURE_TEST will
select TASKS_RCU, defeating the dependency on !UML.  This commit therefore
makes both RCU_PERF_TEST and RCU_TORTURE_TEST also depend on !UML.

The usermode Linux maintainers expect to merge arch_irqs_disabled_flags()
into 4.8, at which point this commit may be reverted.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
1 file changed