Commit 9041a4d2 authored by Linus Torvalds's avatar Linus Torvalds

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
parents 04ca88d0 e9ba16e6
...@@ -47,7 +47,7 @@ void __init idle_thread_set_boot_cpu(void) ...@@ -47,7 +47,7 @@ void __init idle_thread_set_boot_cpu(void)
* *
* Creates the thread if it does not exist. * Creates the thread if it does not exist.
*/ */
static inline void idle_init(unsigned int cpu) static inline void __always_inline idle_init(unsigned int cpu)
{ {
struct task_struct *tsk = per_cpu(idle_threads, cpu); struct task_struct *tsk = per_cpu(idle_threads, cpu);
......
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