diff options
Diffstat (limited to 'arch/x86/mm/numa_64.c')
-rw-r--r-- | arch/x86/mm/numa_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index cb3170186355..9a6892200b27 100644 --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c | |||
@@ -386,9 +386,10 @@ static int __init split_nodes_by_size(struct bootnode *nodes, u64 *addr, | |||
386 | * Sets up the system RAM area from start_pfn to end_pfn according to the | 386 | * Sets up the system RAM area from start_pfn to end_pfn according to the |
387 | * numa=fake command-line option. | 387 | * numa=fake command-line option. |
388 | */ | 388 | */ |
389 | static struct bootnode nodes[MAX_NUMNODES] __initdata; | ||
390 | |||
389 | static int __init numa_emulation(unsigned long start_pfn, unsigned long end_pfn) | 391 | static int __init numa_emulation(unsigned long start_pfn, unsigned long end_pfn) |
390 | { | 392 | { |
391 | struct bootnode nodes[MAX_NUMNODES]; | ||
392 | u64 size, addr = start_pfn << PAGE_SHIFT; | 393 | u64 size, addr = start_pfn << PAGE_SHIFT; |
393 | u64 max_addr = end_pfn << PAGE_SHIFT; | 394 | u64 max_addr = end_pfn << PAGE_SHIFT; |
394 | int num_nodes = 0, num = 0, coeff_flag, coeff = -1, i; | 395 | int num_nodes = 0, num = 0, coeff_flag, coeff = -1, i; |