]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/mm: Initialize text poking earlier
authorPeter Zijlstra <peterz@infradead.org>
Tue, 25 Oct 2022 19:38:25 +0000 (21:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Aug 2023 17:58:33 +0000 (19:58 +0200)
commit27a72e350869d5b06cc44d882cd34fb0f88f3f8b
tree2e1dd0a166bf288e134cdba2c2fecaa884083785
parentd0317b9502ea8a8f66cd568e90f19b595b5d4a07
x86/mm: Initialize text poking earlier

commit 5b93a83649c7cba3a15eb7e8959b250841acb1b1 upstream.

Move poking_init() up a bunch; specifically move it right after
mm_init() which is right before ftrace_init().

This will allow simplifying ftrace text poking which currently has
a bunch of exceptions for early boot.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221025201057.881703081@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
init/main.c