git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IA64] Minimize per_cpu reservations.
[pandora-kernel.git]
/
arch
/
ia64
/
mm
/
numa.c
diff --git
a/arch/ia64/mm/numa.c
b/arch/ia64/mm/numa.c
index
7807fc5
..
b73bf18
100644
(file)
--- a/
arch/ia64/mm/numa.c
+++ b/
arch/ia64/mm/numa.c
@@
-27,7
+27,9
@@
*/
int num_node_memblks;
struct node_memblk_s node_memblk[NR_NODE_MEMBLKS];
*/
int num_node_memblks;
struct node_memblk_s node_memblk[NR_NODE_MEMBLKS];
-struct node_cpuid_s node_cpuid[NR_CPUS];
+struct node_cpuid_s node_cpuid[NR_CPUS] =
+ { [0 ... NR_CPUS-1] = { .phys_id = 0, .nid = NUMA_NO_NODE } };
+
/*
* This is a matrix with "distances" between nodes, they should be
* proportional to the memory access latency ratios.
/*
* This is a matrix with "distances" between nodes, they should be
* proportional to the memory access latency ratios.