Commit 84d08218 authored by Sasha Levin's avatar Sasha Levin

Revert "sparc64: Fix numa node distance initialization"

This reverts commit bfbe327d556707c59c5c0536d831078b41a68429.
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent bd6d85d6
......@@ -1301,18 +1301,10 @@ static int __init numa_parse_sun4u(void)
static int __init bootmem_init_numa(void)
{
int i, j;
int err = -1;
numadbg("bootmem_init_numa()\n");
/* Some sane defaults for numa latency values */
for (i = 0; i < MAX_NUMNODES; i++) {
for (j = 0; j < MAX_NUMNODES; j++)
numa_latency[i][j] = (i == j) ?
LOCAL_DISTANCE : REMOTE_DISTANCE;
}
if (numa_enabled) {
if (tlb_type == hypervisor)
err = numa_parse_mdesc();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment