aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r--net/sunrpc/sched.c26
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}
246EXPORT_SYMBOL(rpc_init_wait_queue); 246EXPORT_SYMBOL_GPL(rpc_init_wait_queue);
247 247
248static int rpc_wait_bit_interruptible(void *word) 248static 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}
306EXPORT_SYMBOL(__rpc_wait_for_completion_task); 306EXPORT_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}
376EXPORT_SYMBOL(rpc_sleep_on); 376EXPORT_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}
448EXPORT_SYMBOL(rpc_wake_up_task); 448EXPORT_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}
524EXPORT_SYMBOL(rpc_wake_up_next); 524EXPORT_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}
550EXPORT_SYMBOL(rpc_wake_up); 550EXPORT_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}
579EXPORT_SYMBOL(rpc_wake_up_status); 579EXPORT_SYMBOL_GPL(rpc_wake_up_status);
580 580
581static void __rpc_atrun(struct rpc_task *task) 581static 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}
594EXPORT_SYMBOL(rpc_delay); 594EXPORT_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}
623EXPORT_SYMBOL(rpc_exit_task); 623EXPORT_SYMBOL_GPL(rpc_exit_task);
624 624
625void rpc_release_calldata(const struct rpc_call_ops *ops, void *calldata) 625void 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}
740EXPORT_SYMBOL(rpc_execute); 740EXPORT_SYMBOL_GPL(rpc_execute);
741 741
742static void rpc_async_schedule(struct work_struct *work) 742static 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}
858EXPORT_SYMBOL(rpc_init_task); 858EXPORT_SYMBOL_GPL(rpc_init_task);
859 859
860static struct rpc_task * 860static struct rpc_task *
861rpc_alloc_task(void) 861rpc_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}
913EXPORT_SYMBOL(rpc_put_task); 913EXPORT_SYMBOL_GPL(rpc_put_task);
914 914
915static void rpc_release_task(struct rpc_task *task) 915static 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}
970EXPORT_SYMBOL(rpc_killall_tasks); 970EXPORT_SYMBOL_GPL(rpc_killall_tasks);
971 971
972int rpciod_up(void) 972int rpciod_up(void)
973{ 973{