diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2022-10-12 16:36:08 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-10-12 16:36:08 +0800 |
commit | a522b7ad8e66fd9021d354844c1c6bd7893bde6f (patch) | |
tree | 07f59ad5e94802281faa7fe6540f1f1f76594063 /samples | |
parent | 4b2edd38282a42742d8f2039767fa4f1919330f0 (diff) | |
download | linux-a522b7ad8e66fd9021d354844c1c6bd7893bde6f.tar.bz2 |
LoongArch: Do not create sysfs control file for io master CPUs
Now io master CPUs are not hotpluggable on LoongArch, but in the current
code only /sys/devices/system/cpu/cpu0/online is not created. Let us set
the hotpluggable field of all the io master CPUs as 0, then prevent to
create sysfs control file for all the io master CPUs which confuses some
user space tools. This is similar with commit 9cce844abf07 ("MIPS: CPU#0
is not hotpluggable").
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions