ARM: rename mach_cpu_disable() to platform_cpu_disable()
Consistently name all SMP platform related functions. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
75070612c4
commit
8e2a43f5f5
3 changed files with 3 additions and 3 deletions
|
@ -82,7 +82,7 @@ struct secondary_data {
|
||||||
extern struct secondary_data secondary_data;
|
extern struct secondary_data secondary_data;
|
||||||
|
|
||||||
extern int __cpu_disable(void);
|
extern int __cpu_disable(void);
|
||||||
extern int mach_cpu_disable(unsigned int cpu);
|
extern int platform_cpu_disable(unsigned int cpu);
|
||||||
|
|
||||||
extern void __cpu_die(unsigned int cpu);
|
extern void __cpu_die(unsigned int cpu);
|
||||||
extern void cpu_die(void);
|
extern void cpu_die(void);
|
||||||
|
|
|
@ -162,7 +162,7 @@ int __cpu_disable(void)
|
||||||
struct task_struct *p;
|
struct task_struct *p;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = mach_cpu_disable(cpu);
|
ret = platform_cpu_disable(cpu);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,7 @@ void platform_cpu_die(unsigned int cpu)
|
||||||
cpu_leave_lowpower();
|
cpu_leave_lowpower();
|
||||||
}
|
}
|
||||||
|
|
||||||
int mach_cpu_disable(unsigned int cpu)
|
int platform_cpu_disable(unsigned int cpu)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* we don't allow CPU 0 to be shutdown (it is still too special
|
* we don't allow CPU 0 to be shutdown (it is still too special
|
||||||
|
|
Loading…
Add table
Reference in a new issue