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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:24:19 +0000 (08:24 +0200)
commit16de2abbc0713caded7f84e8ccd8991ae99687a1
tree2dd00881e4e3c810742e94b08a3c339444f91b47
parentb091a488ab597cfbb6b66c1b0999d0244e303568
s390/numa: set node distance to LOCAL_DISTANCE

commit 535e4fc623fab2e09a0653fc3a3e17f382ad0251 upstream.

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: 3a368f742da1 ("s390/numa: add core infrastructure")
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/include/asm/topology.h