diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-07-18 16:51:10 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-07-19 17:45:50 +1000 |
commit | c773765548a598eb583b2ab55b43230b895a00e3 (patch) | |
tree | abad9564f82d561da2fdc0b01f0ea81b8f8c13b9 /core | |
parent | 2c256c6803f79dd64c5b631ef3da26942eeeca10 (diff) | |
download | skiboot-c773765548a598eb583b2ab55b43230b895a00e3.zip skiboot-c773765548a598eb583b2ab55b43230b895a00e3.tar.gz skiboot-c773765548a598eb583b2ab55b43230b895a00e3.tar.bz2 |
sparse: fix (main|secondar)_cpu_entry declaration types
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@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/init.c b/core/init.c index e3e0ea3..7a35da1 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) { |