]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - arch/x86/kernel/cpu/common.c
init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Jun 2023 23:39:41 +0000 (01:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 Jun 2023 08:16:00 +0000 (10:16 +0200)
commit439e17576eb47f26b78c5bbc72e344d4206d2327
tree6164d237ced8cf778a24bd41e9b6150b5add0e98
parent9df9d2f0471b4c4702670380b8d8a45b40b23a7d
init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()

Invoke the X86ism mem_encrypt_init() from X86 arch_cpu_finalize_init() and
remove the weak fallback from the core code.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230613224545.670360645@linutronix.de
arch/x86/include/asm/mem_encrypt.h
arch/x86/kernel/cpu/common.c
init/main.c