projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9622179
)
rcu: Remove __maybe_unused from rcu_cpu_has_callbacks()
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 17 May 2018 20:15:40 +0000
(13:15 -0700)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:19 +0000
(15:39 -0700)
The rcu_cpu_has_callbacks() function is now used in all configurations,
so this commit removes the __maybe_unused.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/tree.c
b/kernel/rcu/tree.c
index 3504ee35e226def735ee1dc1564f66c11e869578..cdc4fca0c4cbf27a544ec2acca8d5860b281dc27 100644
(file)
--- a/
kernel/rcu/tree.c
+++ b/
kernel/rcu/tree.c
@@
-3315,7
+3315,7
@@
static int rcu_pending(void)
* non-NULL, store an indication of whether all callbacks are lazy.
* (If there are no callbacks, all of them are deemed to be lazy.)
*/
-static bool
__maybe_unused
rcu_cpu_has_callbacks(bool *all_lazy)
+static bool rcu_cpu_has_callbacks(bool *all_lazy)
{
bool al = true;
bool hc = false;