]> xenbits.xensource.com Git - people/aperard/xen-arm.git/commitdiff
xen: arm: define node_online_map.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 14:16:19 +0000 (14:16 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 19 Dec 2012 14:16:19 +0000 (14:16 +0000)
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>
xen/arch/arm/dummy.S
xen/arch/arm/smpboot.c
xen/include/asm-arm/numa.h

index 022338aeeebd7fff446cdf7462eac4ee80f92da2..4abb30a49ea7581bb15022b52af58cf2cd428866 100644 (file)
@@ -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 */
index 6555ac682ad32e1c71ba3916cb66ade4a7a7a2a8..351b559f4817b374fe72a0cc821af956d3cae6b3 100644 (file)
@@ -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)));
index 1b060e6ae44ebf84e7708247e49dae9829167a64..a1b1f584f84692f6ce64159880f0637743c4684a 100644 (file)
@@ -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)