From 5f117033243488a0080f837540c27999aa31870e Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Fri, 11 Feb 2022 17:23:50 +0100 Subject: [PATCH] x86/head64: Add missing __head annotation to sme_postprocess_startup() This function was previously part of __startup_64() which is marked __head, and is currently only called from there. Mark it __head too. Signed-off-by: Marco Bonelli Signed-off-by: Borislav Petkov Link: https://lore.kernel.org/r/20220211162350.11780-1-marco@mebeim.net --- arch/x86/kernel/head64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index de563db9cdcd2..4f5ecbbaae77c 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c @@ -126,7 +126,7 @@ static bool __head check_la57_support(unsigned long physaddr) } #endif -static unsigned long sme_postprocess_startup(struct boot_params *bp, pmdval_t *pmd) +static unsigned long __head sme_postprocess_startup(struct boot_params *bp, pmdval_t *pmd) { unsigned long vaddr, vaddr_end; int i; -- 2.30.2