oxnas: sync cpu-hotplug with mach-realview
Make mach-oxnas/hotplug.c look more similar to mach-realview/hotplug.c, just cosmetics and maintainability concerns, no functional changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49044
This commit is contained in:
parent
b64f159bc8
commit
e9db6eb8b2
@ -14,7 +14,6 @@
|
||||
|
||||
#include <asm/cp15.h>
|
||||
#include <asm/smp_plat.h>
|
||||
#include <mach/smp.h>
|
||||
|
||||
static inline void cpu_enter_lowpower(void)
|
||||
{
|
||||
@ -68,7 +67,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious)
|
||||
:
|
||||
: "memory", "cc");
|
||||
|
||||
if (read_pen_release() == cpu_logical_map(cpu)) {
|
||||
if (pen_release == cpu_logical_map(cpu)) {
|
||||
/*
|
||||
* OK, proper wakeup, we're done
|
||||
*/
|
||||
@ -91,7 +90,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious)
|
||||
*
|
||||
* Called with IRQs disabled
|
||||
*/
|
||||
void __ref ox820_cpu_die(unsigned int cpu)
|
||||
void ox820_cpu_die(unsigned int cpu)
|
||||
{
|
||||
int spurious = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user