Commit 5f117033 authored by Marco Bonelli's avatar Marco Bonelli Committed by Borislav Petkov
Browse files

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: default avatarMarco Bonelli <marco@mebeim.net>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220211162350.11780-1-marco@mebeim.net
parent dfd42fac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;