+55
−52
Loading
Merge Pull Request from: @linhongye
A bugfix of the Linux mainline version is incorporated to fix the problem that the thread number of the smt control is incorrectly written in DT mode.
Refactor do-while loops to move break condition within the loop's scope.
This modification is in preparation to move the declaration of the
device_node directly within the loop and take advantage of the automatic
cleanup feature provided by the __free(device_node) attribute.
mainline inclusion
from mainline-v6.10-rc2
commit 97b1974547c517d8b5cba1fa0cc7213399ff0d2c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBBU4K
Link:https://gitee.com/openeuler/kernel/pulls/14201
Signed-off-by:
Zhang Peng <zhangpeng362@huawei.com>