]> git.baikalelectronics.ru Git - kernel.git/commit
s390/numa: set node distance to LOCAL_DISTANCE
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 4 Aug 2020 18:35:49 +0000 (20:35 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 11 Aug 2020 16:16:35 +0000 (18:16 +0200)
commit54e7f74bfadd0ed54eff69627300c77ac556c162
tree01e647ca0075e561e9f03b7344da82d89d3a32e7
parenta992098ffd0b66d4f971c46e1cd490ff37b85120
s390/numa: set node distance to LOCAL_DISTANCE

The node distance is hardcoded to 0, which causes a trouble
for some user-level applications. In particular, "libnuma"
expects the distance of a node to itself as LOCAL_DISTANCE.
This update removes the offending node distance override.

Cc: <stable@vger.kernel.org> # 4.4
Fixes: f81e076873fe ("s390/numa: add core infrastructure")
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/topology.h