mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xen: arm: define node_online_map.
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>
This commit is contained in:
1 parent
abb4b95647
commit
d3e6184717
3 files changed
+4
-2
No files matched your search
@@ -7,7 +7,6 @@ x: .word 0xe7f000f0 /* Undefined instruction */
|
||||
x: mov pc, lr
|
||||
|
||||
/* SMP support */
|
||||
DUMMY(node_online_map);
|
||||
DUMMY(smp_send_state_dump);
|
||||
|
||||
/* PIRQ support */
|
||||
|
||||
@@ -38,6 +38,9 @@ EXPORT_SYMBOL(cpu_online_map);
|
||||
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)));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#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)
|
||||
|
||||
|
||||