From 8fa65dc0bf7c964337c3eef31dbad6974908e2c6 Mon Sep 17 00:00:00 2001 From: Mike Travis Date: Fri, 4 Apr 2008 18:11:09 -0700 Subject: [PATCH] --- yaml --- r: 91068 b: refs/heads/master c: f46bdf2db25dfaff3b611c9711705645cdb03acc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/mm/numa_64.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1dcc0a7a1410..9721151d82f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: aa6b54461cc5c0019b9d792adf3176b444c10763 +refs/heads/master: f46bdf2db25dfaff3b611c9711705645cdb03acc diff --git a/trunk/arch/x86/mm/numa_64.c b/trunk/arch/x86/mm/numa_64.c index 2ea56f48f29b..3f6c53c0e003 100644 --- a/trunk/arch/x86/mm/numa_64.c +++ b/trunk/arch/x86/mm/numa_64.c @@ -380,9 +380,10 @@ static int __init split_nodes_by_size(struct bootnode *nodes, u64 *addr, * Sets up the system RAM area from start_pfn to end_pfn according to the * numa=fake command-line option. */ +static struct bootnode nodes[MAX_NUMNODES] __initdata; + static int __init numa_emulation(unsigned long start_pfn, unsigned long end_pfn) { - struct bootnode nodes[MAX_NUMNODES]; u64 size, addr = start_pfn << PAGE_SHIFT; u64 max_addr = end_pfn << PAGE_SHIFT; int num_nodes = 0, num = 0, coeff_flag, coeff = -1, i;