mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sh: Tidy CPU probing and fixup section annotations.
This does a detect_cpu_and_cache_system() -> cpu_probe() rename, tidies up the unused return value, and stuffs it under __cpuinit in preparation for CPU hotplug. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
3bd1666887
commit
a9079ca0cb
8 changed files with 9 additions and 22 deletions
|
@ -16,7 +16,7 @@
|
|||
#include <asm/cache.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
int detect_cpu_and_cache_system(void)
|
||||
void __cpuinit cpu_probe(void)
|
||||
{
|
||||
unsigned long addr0, addr1, data0, data1, data2, data3;
|
||||
|
||||
|
@ -108,6 +108,4 @@ int detect_cpu_and_cache_system(void)
|
|||
boot_cpu_data.icache = boot_cpu_data.dcache;
|
||||
|
||||
boot_cpu_data.family = CPU_FAMILY_SH3;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue