mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
cpu: fix core0 cannot be offline in 32BIT kernel [1/1]
PD#SWPL-114632 Problem: fix core0 cannot be offline in 32BIT kernel Solution: fix core0 cannot be offline in 32BIT kernel Verify: on s4_aq222 Change-Id: I0c1bf91e013f133851494622bd59da33ac038a51 Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
This commit is contained in:
committed by
Dongjin Kim
parent
512585a440
commit
0460eae431
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user