[Skiboot] [PATCH 03/10] sparse: fix (main|secondar)_cpu_entry declaration types
Stewart Smith
stewart at linux.ibm.com
Thu Jul 18 16:51:10 AEST 2019
core/init.c:923:28: error: symbol 'main_cpu_entry' redeclared with different type (originally declared at core/init.c:921) - different modifiers
core/init.c:1314:28: error: symbol 'secondary_cpu_entry' redeclared with different type (originally declared at core/init.c:1312) - different modifiers
Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
core/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/init.c b/core/init.c
index e3e0ea380bb2..7a35da16bd90 100644
--- a/core/init.c
+++ b/core/init.c
@@ -918,7 +918,7 @@ bool verify_romem(void)
}
/* Called from head.S, thus no prototype. */
-void main_cpu_entry(const void *fdt);
+void __noreturn __nomcount main_cpu_entry(const void *fdt);
void __noreturn __nomcount main_cpu_entry(const void *fdt)
{
@@ -1309,7 +1309,7 @@ void __noreturn __secondary_cpu_entry(void)
}
/* Called from head.S, thus no prototype. */
-void secondary_cpu_entry(void);
+void __noreturn __nomcount secondary_cpu_entry(void);
void __noreturn __nomcount secondary_cpu_entry(void)
{
--
2.21.0
More information about the Skiboot
mailing list