projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd42fa
)
x86/head64: Add missing __head annotation to sme_postprocess_startup()
author
Marco Bonelli
<marco@mebeim.net>
Fri, 11 Feb 2022 16:23:50 +0000
(17:23 +0100)
committer
Borislav Petkov
<bp@suse.de>
Sat, 12 Feb 2022 10:37:09 +0000
(11:37 +0100)
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
arch/x86/kernel/head64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/head64.c
b/arch/x86/kernel/head64.c
index
de563db
..
4f5ecbb
100644
(file)
--- 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;