diff options
author | Josh Triplett <josh@joshtriplett.org> | 2012-11-20 12:55:26 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-01-08 17:15:25 -0500 |
commit | 62e3cb143fd78a2ee6f44ef0dfe50cdff2119d9a (patch) | |
tree | 9c0ac96a9c58706a101f6560a05480f45c8120c4 /kernel/rcutree.c | |
parent | 3aac7a8d574285be855450d103a421b8f8ec89d4 (diff) |
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/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index e441b77b614e..cceda7602dfd 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -727,7 +727,7 @@ EXPORT_SYMBOL_GPL(rcu_lockdep_current_cpu_online); | |||
727 | * interrupt from idle, return true. The caller must have at least | 727 | * interrupt from idle, return true. The caller must have at least |
728 | * disabled preemption. | 728 | * disabled preemption. |
729 | */ | 729 | */ |
730 | int rcu_is_cpu_rrupt_from_idle(void) | 730 | static int rcu_is_cpu_rrupt_from_idle(void) |
731 | { | 731 | { |
732 | return __get_cpu_var(rcu_dynticks).dynticks_nesting <= 1; | 732 | return __get_cpu_var(rcu_dynticks).dynticks_nesting <= 1; |
733 | } | 733 | } |