path: root/kernel/torture.c
diff options
authorDenis Efremov <efremov@linux.com>2019-07-04 15:57:19 +0300
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-01 14:30:22 -0700
commit21f57546ceaf4c5537a617f55b809a843b109210 (patch)
treebeead8a615ec6f2e6d1716f1422d4110ab3fab0f /kernel/torture.c
parentbd1bfc51a36f334270b886db6d8467e55fe294ca (diff)
torture: Remove exporting of internal functions
The functions torture_onoff_cleanup() and torture_shuffle_cleanup() are declared static and marked EXPORT_SYMBOL_GPL(), which is at best an odd combination. Because these functions are not used outside of the kernel/torture.c file they are defined in, this commit removes their EXPORT_SYMBOL_GPL() marking. Fixes: cc47ae083026 ("rcutorture: Abstract torture-test cleanup") Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/torture.c')
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/torture.c b/kernel/torture.c
index a8d9bdfba7c3..7c13f5558b71 100644
--- a/kernel/torture.c
+++ b/kernel/torture.c
@@ -263,7 +263,6 @@ static void torture_onoff_cleanup(void)
onoff_task = NULL;
#endif /* #ifdef CONFIG_HOTPLUG_CPU */
* Print online/offline testing statistics.
@@ -449,7 +448,6 @@ static void torture_shuffle_cleanup(void)
shuffler_task = NULL;
* Variables for auto-shutdown. This allows "lights out" torture runs

Privacy Policy