diff options
author | 2017-10-16 11:05:03 -0700 | |
---|---|---|
committer | 2017-12-11 09:18:22 -0800 | |
commit | cc1321c96f855525fbd847fec130f000daa1bb1f (patch) | |
tree | cdfa9485981454a8de6d7b506970008051184386 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | torture: Prepare scripting for shift from %p to %pK (diff) | |
download | linux-dev-cc1321c96f855525fbd847fec130f000daa1bb1f.tar.xz linux-dev-cc1321c96f855525fbd847fec130f000daa1bb1f.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions