Skip to content

Commit fcdcae9

Browse files
Arnaldo Carvalho de MeloLinus Torvalds
authored andcommitted
[PATCH] Fix another misfiled module symbol export
idle_cpu had the same botched move from kernel/ksyms.c to kernel/sched.c that __wake_up_sync() had.
1 parent b18d541 commit fcdcae9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

kernel/ksyms.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ EXPORT_SYMBOL(iomem_resource);
265265
/* process management */
266266
EXPORT_SYMBOL(complete_and_exit);
267267
EXPORT_SYMBOL(schedule_timeout);
268-
EXPORT_SYMBOL_GPL(idle_cpu);
269268
#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
270269
EXPORT_SYMBOL(kernel_flag);
271270
#endif

kernel/sched.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1962,7 +1962,7 @@ int idle_cpu(int cpu)
19621962
return cpu_curr(cpu) == cpu_rq(cpu)->idle;
19631963
}
19641964

1965-
EXPORT_SYMBOL(idle_cpu);
1965+
EXPORT_SYMBOL_GPL(idle_cpu);
19661966

19671967
/**
19681968
* find_process_by_pid - find a process with a matching PID value.

0 commit comments

Comments
 (0)