summaryrefslogtreecommitdiffstats
path: root/kernel/rcutiny.c
diff options
context:
space:
mode:
authorJosh Triplett2012-11-20 18:55:26 +0100
committerPaul E. McKenney2013-01-08 23:15:25 +0100
commit62e3cb143fd78a2ee6f44ef0dfe50cdff2119d9a (patch)
tree9c0ac96a9c58706a101f6560a05480f45c8120c4 /kernel/rcutiny.c
parentrcu: Fix blimit type for trace_rcu_batch_start() (diff)
downloadkernel-qcow2-linux-62e3cb143fd78a2ee6f44ef0dfe50cdff2119d9a.tar.gz
kernel-qcow2-linux-62e3cb143fd78a2ee6f44ef0dfe50cdff2119d9a.tar.xz
kernel-qcow2-linux-62e3cb143fd78a2ee6f44ef0dfe50cdff2119d9a.zip
rcu: Make rcu_is_cpu_rrupt_from_idle helper functions static
Both rcutiny and rcutree define a helper function named rcu_is_cpu_rrupt_from_idle(), each used exactly once, later in the same file. This commit therefore declares these helper functions static. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutiny.c')
-rw-r--r--kernel/rcutiny.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c
index e7dce58f9c2a..9f72a0f9f85a 100644
--- a/kernel/rcutiny.c
+++ b/kernel/rcutiny.c
@@ -193,7 +193,7 @@ EXPORT_SYMBOL(rcu_is_cpu_idle);
* interrupts don't count, we must be running at the first interrupt
* level.
*/
-int rcu_is_cpu_rrupt_from_idle(void)
+static int rcu_is_cpu_rrupt_from_idle(void)
{
return rcu_dynticks_nesting <= 1;
}