aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/mm/numa.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-03-25 10:29:12 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 12:10:52 -0500
commitabe059e7590fd4475285f2d037c70dec712a4572 (patch)
tree4c15ffcf11786a89cd87d0766c6d6717342aa722 /arch/x86_64/mm/numa.c
parent913bd906019514579b3c7ec5ab9c463e89207a57 (diff)
[PATCH] x86_64: Rename struct node in x86-64 NUMA code to struct bootnode
It conflicts with the struct node in node.h Actually the x86-64 version was there first, but .. Suggested by Jan Beulich Cc: jbeulich@novell.com Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/mm/numa.c')
-rw-r--r--arch/x86_64/mm/numa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/mm/numa.c b/arch/x86_64/mm/numa.c
index 22e51beee8d..e4b62753a19 100644
--- a/arch/x86_64/mm/numa.c
+++ b/arch/x86_64/mm/numa.c
@@ -47,7 +47,7 @@ int numa_off __initdata;
47 * -1 if node overlap or lost ram (shift too big) 47 * -1 if node overlap or lost ram (shift too big)
48 */ 48 */
49static int __init 49static int __init
50populate_memnodemap(const struct node *nodes, int numnodes, int shift) 50populate_memnodemap(const struct bootnode *nodes, int numnodes, int shift)
51{ 51{
52 int i; 52 int i;
53 int res = -1; 53 int res = -1;
@@ -74,7 +74,7 @@ populate_memnodemap(const struct node *nodes, int numnodes, int shift)
74 return res; 74 return res;
75} 75}
76 76
77int __init compute_hash_shift(struct node *nodes, int numnodes) 77int __init compute_hash_shift(struct bootnode *nodes, int numnodes)
78{ 78{
79 int shift = 20; 79 int shift = 20;
80 80
@@ -191,7 +191,7 @@ int numa_fake __initdata = 0;
191static int numa_emulation(unsigned long start_pfn, unsigned long end_pfn) 191static int numa_emulation(unsigned long start_pfn, unsigned long end_pfn)
192{ 192{
193 int i; 193 int i;
194 struct node nodes[MAX_NUMNODES]; 194 struct bootnode nodes[MAX_NUMNODES];
195 unsigned long sz = ((end_pfn - start_pfn)<<PAGE_SHIFT) / numa_fake; 195 unsigned long sz = ((end_pfn - start_pfn)<<PAGE_SHIFT) / numa_fake;
196 196
197 /* Kludge needed for the hash function */ 197 /* Kludge needed for the hash function */