aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/vmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/mm/vmem.c')
-rw-r--r--arch/s390/mm/vmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c
index 1fc99891c4eb..79d13a166a3d 100644
--- a/arch/s390/mm/vmem.c
+++ b/arch/s390/mm/vmem.c
@@ -236,10 +236,10 @@ static int vmem_add_mem(unsigned long start, unsigned long size)
236{ 236{
237 int ret; 237 int ret;
238 238
239 ret = vmem_add_range(start, size); 239 ret = vmem_add_mem_map(start, size);
240 if (ret) 240 if (ret)
241 return ret; 241 return ret;
242 return vmem_add_mem_map(start, size); 242 return vmem_add_range(start, size);
243} 243}
244 244
245/* 245/*