-
由 Paul E. McKenney 提交于
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: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>cc1321c9