[S390] Fix section annotations.
Use the __cpuinit instead of __devinit section annotations for code that deals with cpu hotplug. In addition add some more annotations on functions that have been left out so far. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
committed by
Martin Schwidefsky
parent
d330f93595
commit
ea1f4eece9
@@ -102,7 +102,7 @@ static struct resource data_resource = {
|
||||
/*
|
||||
* cpu_init() initializes state that is per-CPU.
|
||||
*/
|
||||
void __devinit cpu_init (void)
|
||||
void __cpuinit cpu_init(void)
|
||||
{
|
||||
int addr = hard_smp_processor_id();
|
||||
|
||||
@@ -915,7 +915,7 @@ setup_arch(char **cmdline_p)
|
||||
setup_zfcpdump(console_devno);
|
||||
}
|
||||
|
||||
void print_cpu_info(struct cpuinfo_S390 *cpuinfo)
|
||||
void __cpuinit print_cpu_info(struct cpuinfo_S390 *cpuinfo)
|
||||
{
|
||||
printk("cpu %d "
|
||||
#ifdef CONFIG_SMP
|
||||
|
Reference in New Issue
Block a user