commit | 5c75b632d4a0936f321cfa194885e186dd0d26fb | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon Oct 16 11:05:03 2017 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Oct 18 08:55:41 2017 -0700 |
tree | e7e3d6e48c90921ed3722d58f5ad71a8b5e3b677 | |
parent | b2ae0353397a2abd50a0f163f3578709a5e2172c [diff] |
torture: Reduce #ifdefs for preempt_schedule() This commit adds a torture_preempt_schedule() that is nothingness in !PREEMPT builds and is preempt_schedule() otherwise. Then torture_preempt_schedule() is used to eliminate several ugly #ifdefs, both in rcutorture and in locktorture. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>