summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-07-25 18:52:48 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-25 18:52:48 +0200
commit9041a4d2ee2f551981689cb12066a872879f5d07 (patch)
tree39d94b36088147dae2939ab03f87345cd8129c0e /kernel
parentMerge tag 'dma-mapping-5.14-1' of git://git.infradead.org/users/hch/dma-mapping (diff)
parentsmpboot: Mark idle_init() as __always_inlined to work around aggressive compi... (diff)
downloadlinux-9041a4d2ee2f551981689cb12066a872879f5d07.tar.xz
linux-9041a4d2ee2f551981689cb12066a872879f5d07.zip
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
Diffstat (limited to 'kernel')
-rw-r--r--kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/smpboot.c b/kernel/smpboot.c
index e4163042c4d6..21b7953f8242 100644
--- a/kernel/smpboot.c
+++ b/kernel/smpboot.c
@@ -47,7 +47,7 @@ void __init idle_thread_set_boot_cpu(void)
*
* 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);