Re: [PATCH] MIPS: No need to check CPU 0 in cps_cpu_disable()

2020-12-28 Thread Thomas Bogendoerfer
On Tue, Dec 15, 2020 at 01:07:26PM +0800, Tiezhu Yang wrote: > After commit 9cce844abf07 ("MIPS: CPU#0 is not hotpluggable"), > c->hotpluggable is 0 for CPU 0 and it will not generate a control > file in sysfs for this CPU: > > [root@linux loongson]# cat /sys/devices/system/cpu/cpu0/online > cat:

[PATCH] MIPS: No need to check CPU 0 in cps_cpu_disable()

2020-12-14 Thread Tiezhu Yang
After commit 9cce844abf07 ("MIPS: CPU#0 is not hotpluggable"), c->hotpluggable is 0 for CPU 0 and it will not generate a control file in sysfs for this CPU: [root@linux loongson]# cat /sys/devices/system/cpu/cpu0/online cat: /sys/devices/system/cpu/cpu0/online: No such file or directory