diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2018-09-22 18:39:56 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-10-01 15:49:52 +0300 |
commit | 52338088ef0569290b7eae0759c58a3de494e6c0 (patch) | |
tree | 1480efe84b6eb94179ad73bc48c396579b93624c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 77cfe950901e5c13aca2df6437a05f39dd9a929b (diff) | |
download | linux-52338088ef0569290b7eae0759c58a3de494e6c0.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions