projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b80da4
)
rcu: Provide rcu_batches_completed_sched() for TINY_RCU
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Fri, 21 Nov 2014 23:45:27 +0000
(15:45 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Sun, 11 Jan 2015 03:07:59 +0000
(19:07 -0800)
A bug in rcutorture has caused it to ignore completed batches.
In preparation for fixing that bug, this commit provides TINY_RCU with
the required rcu_batches_completed_sched().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcutiny.h
patch
|
blob
|
history
diff --git
a/include/linux/rcutiny.h
b/include/linux/rcutiny.h
index
91f7e4c
..
1ce2d6b
100644
(file)
--- a/
include/linux/rcutiny.h
+++ b/
include/linux/rcutiny.h
@@
-107,6
+107,14
@@
static inline unsigned long rcu_batches_completed_bh(void)
return 0;
}
+/*
+ * Return the number of sched grace periods.
+ */
+static inline unsigned long rcu_batches_completed_sched(void)
+{
+ return 0;
+}
+
static inline void rcu_force_quiescent_state(void)
{
}