Commit 2d2ec635 authored by Linus Torvalds's avatar Linus Torvalds

Fix __wake_up_sync() module export. It hadn't been correcly moved

from kernel/ksyms.c to kernel/sched.c.

Noted by Richard Henderson <rth@twiddle.net>
parent 14dc8b59
...@@ -264,9 +264,6 @@ EXPORT_SYMBOL(iomem_resource); ...@@ -264,9 +264,6 @@ EXPORT_SYMBOL(iomem_resource);
/* process management */ /* process management */
EXPORT_SYMBOL(complete_and_exit); EXPORT_SYMBOL(complete_and_exit);
#ifdef CONFIG_SMP
EXPORT_SYMBOL_GPL(__wake_up_sync); /* internal use only */
#endif
EXPORT_SYMBOL(schedule_timeout); EXPORT_SYMBOL(schedule_timeout);
EXPORT_SYMBOL_GPL(idle_cpu); EXPORT_SYMBOL_GPL(idle_cpu);
#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT) #if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
......
...@@ -1707,7 +1707,7 @@ void __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr_exclusive) ...@@ -1707,7 +1707,7 @@ void __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr_exclusive)
spin_unlock_irqrestore(&q->lock, flags); spin_unlock_irqrestore(&q->lock, flags);
} }
EXPORT_SYMBOL(__wake_up_sync); EXPORT_SYMBOL_GPL(__wake_up_sync); /* For internal use only */
void complete(struct completion *x) void complete(struct completion *x)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment