rcutorture: Remove RCU dependencies from ver_functions.sh API
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 7 Feb 2014 01:50:32 +0000 (17:50 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 23 Feb 2014 17:04:33 +0000 (09:04 -0800)
commita5afdeb13c86564bdbd27e8d154933fb65ea2426
tree86be8c692bdcaf3f2992f86970badc366d689c27
parentd2ebf7eea0d3fd450ca5b1cb2243fe1d69d399ce
rcutorture: Remove RCU dependencies from ver_functions.sh API

The current set of functions in ver_functions.sh have APIs that are
specific to RCU.  This commit therefore makes an RCU-independent function
that outputs version-specific boot arguments.  This has the benefit that
a test-type-independent call in kvm-test-1-rcu.sh can now handle any type
of test, given a test-type-specific set of files in a configs directory.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-rcu.sh
tools/testing/selftests/rcutorture/configs/v0.0/ver_functions.sh
tools/testing/selftests/rcutorture/configs/v3.3/ver_functions.sh
tools/testing/selftests/rcutorture/configs/v3.5/ver_functions.sh
tools/testing/selftests/rcutorture/configs/ver_functions.sh