X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Farch%2Farm%2Fmach-shmobile%2Fplatsmp.c;h=b23378f3d7e1726b6f92b3cc8be0ba8264c838f7;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=3923e09e966d5031cab8aa82fb304305c284e9ce;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/arch/arm/mach-shmobile/platsmp.c b/kernel/arch/arm/mach-shmobile/platsmp.c index 3923e09e9..b23378f3d 100644 --- a/kernel/arch/arm/mach-shmobile/platsmp.c +++ b/kernel/arch/arm/mach-shmobile/platsmp.c @@ -31,8 +31,8 @@ void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) } #ifdef CONFIG_HOTPLUG_CPU -int shmobile_smp_cpu_disable(unsigned int cpu) +bool shmobile_smp_cpu_can_disable(unsigned int cpu) { - return 0; /* Hotplug of any CPU is supported */ + return true; /* Hotplug of any CPU is supported */ } #endif