Skip to content

Commit 5f11703

Browse files
mebeimsuryasaimadhu
authored andcommitted
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 <marco@mebeim.net> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220211162350.11780-1-marco@mebeim.net
1 parent dfd42fa commit 5f11703

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/kernel/head64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static bool __head check_la57_support(unsigned long physaddr)
126126
}
127127
#endif
128128

129-
static unsigned long sme_postprocess_startup(struct boot_params *bp, pmdval_t *pmd)
129+
static unsigned long __head sme_postprocess_startup(struct boot_params *bp, pmdval_t *pmd)
130130
{
131131
unsigned long vaddr, vaddr_end;
132132
int i;

0 commit comments

Comments
 (0)