For now just initialise it as a single online node, which is what
asm-arm/numa.h assumes anyway.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
x: mov pc, lr
/* SMP support */
-DUMMY(node_online_map);
DUMMY(smp_send_state_dump);
/* PIRQ support */
cpumask_t cpu_possible_map;
EXPORT_SYMBOL(cpu_possible_map);
+/* Fake one node for now. See also include/asm-arm/numa.h */
+nodemask_t __read_mostly node_online_map = { { [0] = 1UL } };
+
/* Xen stack for bringing up the first CPU. */
static unsigned char __initdata cpu0_boot_stack[STACK_SIZE]
__attribute__((__aligned__(STACK_SIZE)));
#ifndef __ARCH_ARM_NUMA_H
#define __ARCH_ARM_NUMA_H
-/* Fake one node for now... */
+/* Fake one node for now. See also node_online_map. */
#define cpu_to_node(cpu) 0
#define node_to_cpumask(node) (cpu_online_map)