aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/numa_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/numa_32.c')
-rw-r--r--arch/x86/mm/numa_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/numa_32.c b/arch/x86/mm/numa_32.c
index bde3906420d..84aac47c388 100644
--- a/arch/x86/mm/numa_32.c
+++ b/arch/x86/mm/numa_32.c
@@ -200,7 +200,7 @@ void *alloc_remap(int nid, unsigned long size)
200 200
201 size = ALIGN(size, L1_CACHE_BYTES); 201 size = ALIGN(size, L1_CACHE_BYTES);
202 202
203 if (!allocation || (allocation + size) >= node_remap_end_vaddr[nid]) 203 if (!allocation || (allocation + size) > node_remap_end_vaddr[nid])
204 return NULL; 204 return NULL;
205 205
206 node_remap_alloc_vaddr[nid] += size; 206 node_remap_alloc_vaddr[nid] += size;