Skip to content

Commit 2d2ec63

Browse files
author
Linus Torvalds
committed
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>
1 parent 14dc8b5 commit 2d2ec63

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

kernel/ksyms.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,6 @@ EXPORT_SYMBOL(iomem_resource);
264264

265265
/* process management */
266266
EXPORT_SYMBOL(complete_and_exit);
267-
#ifdef CONFIG_SMP
268-
EXPORT_SYMBOL_GPL(__wake_up_sync); /* internal use only */
269-
#endif
270267
EXPORT_SYMBOL(schedule_timeout);
271268
EXPORT_SYMBOL_GPL(idle_cpu);
272269
#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)

kernel/sched.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ void __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr_exclusive)
17071707
spin_unlock_irqrestore(&q->lock, flags);
17081708
}
17091709

1710-
EXPORT_SYMBOL(__wake_up_sync);
1710+
EXPORT_SYMBOL_GPL(__wake_up_sync); /* For internal use only */
17111711

17121712
void complete(struct completion *x)
17131713
{

0 commit comments

Comments
 (0)