diff options
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r-- | net/sunrpc/sched.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index aff8ac6737c3..d0b4c7e11e06 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
@@ -243,7 +243,7 @@ void rpc_init_wait_queue(struct rpc_wait_queue *queue, const char *qname) | |||
243 | { | 243 | { |
244 | __rpc_init_priority_wait_queue(queue, qname, 0); | 244 | __rpc_init_priority_wait_queue(queue, qname, 0); |
245 | } | 245 | } |
246 | EXPORT_SYMBOL(rpc_init_wait_queue); | 246 | EXPORT_SYMBOL_GPL(rpc_init_wait_queue); |
247 | 247 | ||
248 | static int rpc_wait_bit_interruptible(void *word) | 248 | static int rpc_wait_bit_interruptible(void *word) |
249 | { | 249 | { |
@@ -303,7 +303,7 @@ int __rpc_wait_for_completion_task(struct rpc_task *task, int (*action)(void *)) | |||
303 | return wait_on_bit(&task->tk_runstate, RPC_TASK_ACTIVE, | 303 | return wait_on_bit(&task->tk_runstate, RPC_TASK_ACTIVE, |
304 | action, TASK_INTERRUPTIBLE); | 304 | action, TASK_INTERRUPTIBLE); |
305 | } | 305 | } |
306 | EXPORT_SYMBOL(__rpc_wait_for_completion_task); | 306 | EXPORT_SYMBOL_GPL(__rpc_wait_for_completion_task); |
307 | 307 | ||
308 | /* | 308 | /* |
309 | * Make an RPC task runnable. | 309 | * Make an RPC task runnable. |
@@ -373,7 +373,7 @@ void rpc_sleep_on(struct rpc_wait_queue *q, struct rpc_task *task, | |||
373 | __rpc_sleep_on(q, task, action, timer); | 373 | __rpc_sleep_on(q, task, action, timer); |
374 | spin_unlock_bh(&q->lock); | 374 | spin_unlock_bh(&q->lock); |
375 | } | 375 | } |
376 | EXPORT_SYMBOL(rpc_sleep_on); | 376 | EXPORT_SYMBOL_GPL(rpc_sleep_on); |
377 | 377 | ||
378 | /** | 378 | /** |
379 | * __rpc_do_wake_up_task - wake up a single rpc_task | 379 | * __rpc_do_wake_up_task - wake up a single rpc_task |
@@ -445,7 +445,7 @@ void rpc_wake_up_task(struct rpc_task *task) | |||
445 | } | 445 | } |
446 | rcu_read_unlock_bh(); | 446 | rcu_read_unlock_bh(); |
447 | } | 447 | } |
448 | EXPORT_SYMBOL(rpc_wake_up_task); | 448 | EXPORT_SYMBOL_GPL(rpc_wake_up_task); |
449 | 449 | ||
450 | /* | 450 | /* |
451 | * Wake up the next task on a priority queue. | 451 | * Wake up the next task on a priority queue. |
@@ -521,7 +521,7 @@ struct rpc_task * rpc_wake_up_next(struct rpc_wait_queue *queue) | |||
521 | 521 | ||
522 | return task; | 522 | return task; |
523 | } | 523 | } |
524 | EXPORT_SYMBOL(rpc_wake_up_next); | 524 | EXPORT_SYMBOL_GPL(rpc_wake_up_next); |
525 | 525 | ||
526 | /** | 526 | /** |
527 | * rpc_wake_up - wake up all rpc_tasks | 527 | * rpc_wake_up - wake up all rpc_tasks |
@@ -547,7 +547,7 @@ void rpc_wake_up(struct rpc_wait_queue *queue) | |||
547 | spin_unlock(&queue->lock); | 547 | spin_unlock(&queue->lock); |
548 | rcu_read_unlock_bh(); | 548 | rcu_read_unlock_bh(); |
549 | } | 549 | } |
550 | EXPORT_SYMBOL(rpc_wake_up); | 550 | EXPORT_SYMBOL_GPL(rpc_wake_up); |
551 | 551 | ||
552 | /** | 552 | /** |
553 | * rpc_wake_up_status - wake up all rpc_tasks and set their status value. | 553 | * rpc_wake_up_status - wake up all rpc_tasks and set their status value. |
@@ -576,7 +576,7 @@ void rpc_wake_up_status(struct rpc_wait_queue *queue, int status) | |||
576 | spin_unlock(&queue->lock); | 576 | spin_unlock(&queue->lock); |
577 | rcu_read_unlock_bh(); | 577 | rcu_read_unlock_bh(); |
578 | } | 578 | } |
579 | EXPORT_SYMBOL(rpc_wake_up_status); | 579 | EXPORT_SYMBOL_GPL(rpc_wake_up_status); |
580 | 580 | ||
581 | static void __rpc_atrun(struct rpc_task *task) | 581 | static void __rpc_atrun(struct rpc_task *task) |
582 | { | 582 | { |
@@ -591,7 +591,7 @@ void rpc_delay(struct rpc_task *task, unsigned long delay) | |||
591 | task->tk_timeout = delay; | 591 | task->tk_timeout = delay; |
592 | rpc_sleep_on(&delay_queue, task, NULL, __rpc_atrun); | 592 | rpc_sleep_on(&delay_queue, task, NULL, __rpc_atrun); |
593 | } | 593 | } |
594 | EXPORT_SYMBOL(rpc_delay); | 594 | EXPORT_SYMBOL_GPL(rpc_delay); |
595 | 595 | ||
596 | /* | 596 | /* |
597 | * Helper to call task->tk_ops->rpc_call_prepare | 597 | * Helper to call task->tk_ops->rpc_call_prepare |
@@ -620,7 +620,7 @@ void rpc_exit_task(struct rpc_task *task) | |||
620 | } | 620 | } |
621 | } | 621 | } |
622 | } | 622 | } |
623 | EXPORT_SYMBOL(rpc_exit_task); | 623 | EXPORT_SYMBOL_GPL(rpc_exit_task); |
624 | 624 | ||
625 | void rpc_release_calldata(const struct rpc_call_ops *ops, void *calldata) | 625 | void rpc_release_calldata(const struct rpc_call_ops *ops, void *calldata) |
626 | { | 626 | { |
@@ -737,7 +737,7 @@ void rpc_execute(struct rpc_task *task) | |||
737 | rpc_set_running(task); | 737 | rpc_set_running(task); |
738 | __rpc_execute(task); | 738 | __rpc_execute(task); |
739 | } | 739 | } |
740 | EXPORT_SYMBOL(rpc_execute); | 740 | EXPORT_SYMBOL_GPL(rpc_execute); |
741 | 741 | ||
742 | static void rpc_async_schedule(struct work_struct *work) | 742 | static void rpc_async_schedule(struct work_struct *work) |
743 | { | 743 | { |
@@ -855,7 +855,7 @@ void rpc_init_task(struct rpc_task *task, struct rpc_clnt *clnt, int flags, cons | |||
855 | dprintk("RPC: new task initialized, procpid %u\n", | 855 | dprintk("RPC: new task initialized, procpid %u\n", |
856 | task_pid_nr(current)); | 856 | task_pid_nr(current)); |
857 | } | 857 | } |
858 | EXPORT_SYMBOL(rpc_init_task); | 858 | EXPORT_SYMBOL_GPL(rpc_init_task); |
859 | 859 | ||
860 | static struct rpc_task * | 860 | static struct rpc_task * |
861 | rpc_alloc_task(void) | 861 | rpc_alloc_task(void) |
@@ -910,7 +910,7 @@ void rpc_put_task(struct rpc_task *task) | |||
910 | call_rcu_bh(&task->u.tk_rcu, rpc_free_task); | 910 | call_rcu_bh(&task->u.tk_rcu, rpc_free_task); |
911 | rpc_release_calldata(tk_ops, calldata); | 911 | rpc_release_calldata(tk_ops, calldata); |
912 | } | 912 | } |
913 | EXPORT_SYMBOL(rpc_put_task); | 913 | EXPORT_SYMBOL_GPL(rpc_put_task); |
914 | 914 | ||
915 | static void rpc_release_task(struct rpc_task *task) | 915 | static void rpc_release_task(struct rpc_task *task) |
916 | { | 916 | { |
@@ -967,7 +967,7 @@ void rpc_killall_tasks(struct rpc_clnt *clnt) | |||
967 | } | 967 | } |
968 | spin_unlock(&clnt->cl_lock); | 968 | spin_unlock(&clnt->cl_lock); |
969 | } | 969 | } |
970 | EXPORT_SYMBOL(rpc_killall_tasks); | 970 | EXPORT_SYMBOL_GPL(rpc_killall_tasks); |
971 | 971 | ||
972 | int rpciod_up(void) | 972 | int rpciod_up(void) |
973 | { | 973 | { |