Skip to content

Commit 9041a4d

Browse files
committed
Merge tag 'core-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull core fix from Thomas Gleixner: "A single update for the boot code to prevent aggressive un-inlining which causes a section mismatch" * tag 'core-urgent-2021-07-25' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: smpboot: Mark idle_init() as __always_inlined to work around aggressive compiler un-inlining
2 parents 04ca88d + e9ba16e commit 9041a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/smpboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void __init idle_thread_set_boot_cpu(void)
4747
*
4848
* Creates the thread if it does not exist.
4949
*/
50-
static inline void idle_init(unsigned int cpu)
50+
static inline void __always_inline idle_init(unsigned int cpu)
5151
{
5252
struct task_struct *tsk = per_cpu(idle_threads, cpu);
5353

0 commit comments

Comments
 (0)