projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b224ef8
)
numa_emulation: fix cpumask_of_node()
author
Andrea Arcangeli
<
[email protected]
>
Wed, 21 Mar 2012 23:34:16 +0000
(16:34 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 22 Mar 2012 00:55:00 +0000
(17:55 -0700)
Without this fix the cpumask_of_node() for a fake=numa=2 is:
cpumask 0 ff
cpumask 1 ff
with the fix it's correct and it's set to:
cpumask 0 55
cpumask 1 aa
Signed-off-by: Andrea Arcangeli <
[email protected]
>
Cc: Andi Kleen <
[email protected]
>
Cc: Johannes Weiner <
[email protected]
>
Cc: David Rientjes <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: "H. Peter Anvin" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/mm/numa_emulation.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/numa_emulation.c
b/arch/x86/mm/numa_emulation.c
index 46db56845f180bcc890195e52052daa686680518..740b0a3554316679e4fd69e11fb20a308dab471f 100644
(file)
--- a/
arch/x86/mm/numa_emulation.c
+++ b/
arch/x86/mm/numa_emulation.c
@@
-60,7
+60,7
@@
static int __init emu_setup_memblk(struct numa_meminfo *ei,
eb->nid = nid;
if (emu_nid_to_phys[nid] == NUMA_NO_NODE)
- emu_nid_to_phys[nid] =
pb->
nid;
+ emu_nid_to_phys[nid] = nid;
pb->start += size;
if (pb->start >= pb->end) {