linux/drivers/of/of_numa.c

// SPDX-License-Identifier: GPL-2.0
/*
 * OF NUMA Parsing support.
 *
 * Copyright (C) 2015 - 2016 Cavium Inc.
 */

#define pr_fmt(fmt)

#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/nodemask.h>

#include <asm/numa.h>

/* define default numa node to 0 */
#define DEFAULT_NODE

/*
 * Even though we connect cpus to numa domains later in SMP
 * init, we need to know the node ids now for all cpus.
*/
static void __init of_numa_parse_cpu_nodes(void)
{}

static int __init of_numa_parse_memory_nodes(void)
{}

static int __init of_numa_parse_distance_map_v1(struct device_node *map)
{}

static int __init of_numa_parse_distance_map(void)
{}

int of_node_to_nid(struct device_node *device)
{}

int __init of_numa_init(void)
{}