Skip to content

Commit

Permalink
ARM: rename mach_cpu_disable() to platform_cpu_disable()
Browse files Browse the repository at this point in the history
Consistently name all SMP platform related functions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed May 15, 2010
1 parent 7507061 commit 8e2a43f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/include/asm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct secondary_data {
extern struct secondary_data secondary_data;

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(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ int __cpu_disable(void)
struct task_struct *p;
int ret;

ret = mach_cpu_disable(cpu);
ret = platform_cpu_disable(cpu);
if (ret)
return ret;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-realview/hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void platform_cpu_die(unsigned int cpu)
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
Expand Down

0 comments on commit 8e2a43f

Please sign in to comment.