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:26 -0500 |
| commit | 61a56df2fbaad3a4d00f0c6a904b5d1ee8982eb4 (patch) | |
| tree | 05aae621a25911f0fb8e8cf28e520c4277e0ffec /tools/perf/scripts/python/stackcollapse.py | |
| parent | 353dd9934447b9193643ae1afd938607a74d4915 (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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
