diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2018-09-22 21:09:56 +0530 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-10-01 13:49:52 +0100 |
commit | 52338088ef0569290b7eae0759c58a3de494e6c0 (patch) | |
tree | 1480efe84b6eb94179ad73bc48c396579b93624c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 77cfe950901e5c13aca2df6437a05f39dd9a929b (diff) |
arm64/numa: Unify common error path in numa_init()
At present numa_free_distance() is being called before numa_distance is
even initialized with numa_alloc_distance() which is really pointless.
Instead lets call numa_free_distance() on the common error path inside
numa_init() after numa_alloc_distance() has been successful.
Fixes: 1a2db30034 ("arm64, numa: Add NUMA support for arm64 platforms")
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions