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:
@@ -13,7 +13,7 @@
|
||||
#include <asm/processor.h>
|
||||
#include <asm/cache.h>
|
||||
|
||||
int __init detect_cpu_and_cache_system(void)
|
||||
void __cpuinit cpu_probe(void)
|
||||
{
|
||||
boot_cpu_data.family = CPU_FAMILY_SH2A;
|
||||
|
||||
@@ -51,6 +51,4 @@ int __init detect_cpu_and_cache_system(void)
|
||||
* on the cache info.
|
||||
*/
|
||||
boot_cpu_data.icache = boot_cpu_data.dcache;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user