Skip to contentSkip to conversation

allow unplugging of CPU0

PATCH In review Ulrich Hecht 2 participants 2 messages Jan 10, 2013 – Jan 11, 2013 SuperH

lore
Share & tools
lore
#0 lore raw

cover allow unplugging of CPU0

Hi!

sh73a0 appears to deal fine with having its first core disabled, so we should allow that.

This may not be the case with all platforms, so as per suggestion of Magnus, so I have introduced a new method (shmobile_cpu_disable_any()) that removes the restriction on CPU0.

CU
Uli

Ulrich Hecht (2):
ARM: mach-shmobile: add shmobile_cpu_disable_any()
ARM: mach-shmobile: sh73a0: allow unplugging of CPU0

 arch/arm/mach-shmobile/hotplug.c             |    6 ++++++
 arch/arm/mach-shmobile/include/mach/common.h |    1 +
 arch/arm/mach-shmobile/smp-sh73a0.c          |    2 +-
 3 files changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 8 lines · Ulrich Hecht

Hi!

sh73a0 appears to deal fine with having its first core disabled, so we should allow that.

This may not be the case with all platforms, so as per suggestion of Magnus, so I have introduced a new method (shmobile_cpu_disable_any()) that removes the restriction on CPU0.

Thanks.

Both of these changes look good to me.
I will queue them up for 3.9 a little later today.