[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: arm: define node_online_map.


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Thu, 20 Dec 2012 16:11:10 +0000
  • Delivery-date: Thu, 20 Dec 2012 16:11:30 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1355926579 0
# Node ID 73895827e5e00536a28bb31a74306cff571f9b17
# Parent  102e2894e12a45898db69887f923a1338dfb7c9c
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@xxxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r 102e2894e12a -r 73895827e5e0 xen/arch/arm/dummy.S
--- a/xen/arch/arm/dummy.S      Wed Dec 19 14:16:18 2012 +0000
+++ b/xen/arch/arm/dummy.S      Wed Dec 19 14:16:19 2012 +0000
@@ -7,7 +7,6 @@ x:      .word 0xe7f000f0 /* Undefined instruc
 x:     mov pc, lr
        
 /* SMP support */
-DUMMY(node_online_map);
 DUMMY(smp_send_state_dump);
 
 /* PIRQ support */
diff -r 102e2894e12a -r 73895827e5e0 xen/arch/arm/smpboot.c
--- a/xen/arch/arm/smpboot.c    Wed Dec 19 14:16:18 2012 +0000
+++ b/xen/arch/arm/smpboot.c    Wed Dec 19 14:16:19 2012 +0000
@@ -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)));
diff -r 102e2894e12a -r 73895827e5e0 xen/include/asm-arm/numa.h
--- a/xen/include/asm-arm/numa.h        Wed Dec 19 14:16:18 2012 +0000
+++ b/xen/include/asm-arm/numa.h        Wed Dec 19 14:16:19 2012 +0000
@@ -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)
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.