diff options
| author | John Garry <john.g.garry@oracle.com> | 2026-02-10 19:31:12 +0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:16 -0500 |
| commit | bb1a54f7f011f19ed936632698eae574e0b91063 (patch) | |
| tree | 66baa9ee493f03d070f6cdfd124efe220b4d0a09 /samples | |
| parent | 9efa154609cdb658f51c7d76b30a09f7e6485250 (diff) | |
LoongArch: Make cpumask_of_node() robust against NUMA_NO_NODE
[ Upstream commit 94b0c831eda778ae9e4f2164a8b3de485d8977bb ]
The arch definition of cpumask_of_node() cannot handle NUMA_NO_NODE -
which is a valid index - so add a check for this.
Cc: stable@vger.kernel.org
Signed-off-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
