|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [XEN] Use cpumask macros to update numa n
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 65c3287306dbcfb809cc12a48111c4ca7ed7428f
# Parent e080700efa56b7b31326aafc717ce65211382309
[XEN] Use cpumask macros to update numa node masks.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/numa.c | 2 +-
xen/include/asm-x86/numa.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -r e080700efa56 -r 65c3287306db xen/arch/x86/numa.c
--- a/xen/arch/x86/numa.c Wed Dec 13 10:23:53 2006 +0000
+++ b/xen/arch/x86/numa.c Wed Dec 13 10:24:20 2006 +0000
@@ -214,7 +214,7 @@ void __init numa_initmem_init(unsigned l
__cpuinit void numa_add_cpu(int cpu)
{
- set_bit(cpu, node_to_cpumask[cpu_to_node(cpu)].bits);
+ cpu_set(cpu, node_to_cpumask[cpu_to_node(cpu)]);
}
void __cpuinit numa_set_node(int cpu, int node)
diff -r e080700efa56 -r 65c3287306db xen/include/asm-x86/numa.h
--- a/xen/include/asm-x86/numa.h Wed Dec 13 10:23:53 2006 +0000
+++ b/xen/include/asm-x86/numa.h Wed Dec 13 10:24:20 2006 +0000
@@ -37,7 +37,7 @@ extern void __init init_cpu_to_node(void
static inline void clear_node_cpumask(int cpu)
{
- clear_bit(cpu, node_to_cpumask[cpu_to_node(cpu)].bits);
+ cpu_clear(cpu, node_to_cpumask[cpu_to_node(cpu)]);
}
/* Simple perfect hash to map physical addresses to node numbers */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [XEN] Use cpumask macros to update numa node masks.,
Xen patchbot-unstable <=
|
|
|
|
|