]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/head/64: Move the __head definition to <asm/init.h>
authorHou Wenlong <houwenlong.hwl@antgroup.com>
Tue, 17 Oct 2023 07:08:06 +0000 (15:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:36:07 +0000 (16:36 +0200)
commit5447cb97e9b29bd3ac7569c5998d9cd7901482bd
treec94bb65571aa5d6f59b3c985eab468bb4ad4c71f
parent876941f533e7b47fc69977fc4551c02f2d18af97
x86/head/64: Move the __head definition to <asm/init.h>

commit d2a285d65bfde3218fd0c3b88794d0135ced680b upstream.

Move the __head section definition to a header to widen its use.

An upcoming patch will mark the code as __head in mem_encrypt_identity.c too.

Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/0583f57977be184689c373fe540cbd7d85ca2047.1697525407.git.houwenlong.hwl@antgroup.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/init.h
arch/x86/kernel/head64.c