diff options
Diffstat (limited to 'kernel/srcu.c')
-rw-r--r-- | kernel/srcu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/srcu.c b/kernel/srcu.c index de9074047c92..2b859828cdc3 100644 --- a/kernel/srcu.c +++ b/kernel/srcu.c | |||
@@ -16,8 +16,10 @@ | |||
16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | * | 17 | * |
18 | * Copyright (C) IBM Corporation, 2006 | 18 | * Copyright (C) IBM Corporation, 2006 |
19 | * Copyright (C) Fujitsu, 2012 | ||
19 | * | 20 | * |
20 | * Author: Paul McKenney <paulmck@us.ibm.com> | 21 | * Author: Paul McKenney <paulmck@us.ibm.com> |
22 | * Lai Jiangshan <laijs@cn.fujitsu.com> | ||
21 | * | 23 | * |
22 | * For detailed explanation of Read-Copy Update mechanism see - | 24 | * For detailed explanation of Read-Copy Update mechanism see - |
23 | * Documentation/RCU/ *.txt | 25 | * Documentation/RCU/ *.txt |
@@ -96,9 +98,6 @@ static inline void rcu_batch_move(struct rcu_batch *to, struct rcu_batch *from) | |||
96 | } | 98 | } |
97 | } | 99 | } |
98 | 100 | ||
99 | /* single-thread state-machine */ | ||
100 | static void process_srcu(struct work_struct *work); | ||
101 | |||
102 | static int init_srcu_struct_fields(struct srcu_struct *sp) | 101 | static int init_srcu_struct_fields(struct srcu_struct *sp) |
103 | { | 102 | { |
104 | sp->completed = 0; | 103 | sp->completed = 0; |
@@ -643,7 +642,7 @@ static void srcu_reschedule(struct srcu_struct *sp) | |||
643 | /* | 642 | /* |
644 | * This is the work-queue function that handles SRCU grace periods. | 643 | * This is the work-queue function that handles SRCU grace periods. |
645 | */ | 644 | */ |
646 | static void process_srcu(struct work_struct *work) | 645 | void process_srcu(struct work_struct *work) |
647 | { | 646 | { |
648 | struct srcu_struct *sp; | 647 | struct srcu_struct *sp; |
649 | 648 | ||
@@ -654,3 +653,4 @@ static void process_srcu(struct work_struct *work) | |||
654 | srcu_invoke_callbacks(sp); | 653 | srcu_invoke_callbacks(sp); |
655 | srcu_reschedule(sp); | 654 | srcu_reschedule(sp); |
656 | } | 655 | } |
656 | EXPORT_SYMBOL_GPL(process_srcu); | ||