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:
@@ -17,7 +17,7 @@
|
||||
#include <asm/cache.h>
|
||||
#include <asm/tlb.h>
|
||||
|
||||
int __init detect_cpu_and_cache_system(void)
|
||||
void __cpuinit cpu_probe(void)
|
||||
{
|
||||
unsigned long long cir;
|
||||
|
||||
@@ -72,6 +72,4 @@ int __init detect_cpu_and_cache_system(void)
|
||||
|
||||
/* Setup some I/D TLB defaults */
|
||||
sh64_tlb_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user