commit | cc1321c96f855525fbd847fec130f000daa1bb1f | [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> | Mon Dec 11 09:18:22 2017 -0800 |
tree | cdfa9485981454a8de6d7b506970008051184386 | |
parent | cf8d8b00518d9228d603fcd17de47c31deb70b8f [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>