summaryrefslogtreecommitdiffstats
path: root/include/linux/srcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney2017-05-22 22:31:03 +0200
committerPaul E. McKenney2017-07-25 01:04:08 +0200
commit115a1a5285664f1931c30457081b4ae1e648f1f9 (patch)
tree42cb4036563415747705c102b62fa66fadb87493 /include/linux/srcutree.h
parentLinux 4.13-rc2 (diff)
downloadkernel-qcow2-linux-115a1a5285664f1931c30457081b4ae1e648f1f9.tar.gz
kernel-qcow2-linux-115a1a5285664f1931c30457081b4ae1e648f1f9.tar.xz
kernel-qcow2-linux-115a1a5285664f1931c30457081b4ae1e648f1f9.zip
rcutorture: Move SRCU status printing to SRCU implementations
This commit gets rid of some ugly #ifdefs in rcutorture.c by moving the SRCU status printing to the SRCU implementations. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/srcutree.h')
-rw-r--r--include/linux/srcutree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/srcutree.h b/include/linux/srcutree.h
index 42973f787e7e..7886356bdc84 100644
--- a/include/linux/srcutree.h
+++ b/include/linux/srcutree.h
@@ -141,5 +141,6 @@ void process_srcu(struct work_struct *work);
void synchronize_srcu_expedited(struct srcu_struct *sp);
void srcu_barrier(struct srcu_struct *sp);
+void srcu_torture_stats_print(struct srcu_struct *sp, char *tt, char *tf);
#endif