diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 0cdaebb28b26..083662ead0a8 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -236,7 +236,11 @@ int platform_can_hotplug_cpu(unsigned int cpu) * since this is special on a lot of platforms, e.g. because * of clock tick interrupts. */ +#if IS_ENABLED(CONFIG_AMLOGIC_HOTPLUG_ARM_CPU0) + return 1; +#else return cpu != 0; +#endif } static void ipi_teardown(int cpu)