aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index b8487f8cd82e..ba86b436b85f 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2821,7 +2821,7 @@ int make_pages_present(unsigned long addr, unsigned long end)
2821 len, write, 0, NULL, NULL); 2821 len, write, 0, NULL, NULL);
2822 if (ret < 0) 2822 if (ret < 0)
2823 return ret; 2823 return ret;
2824 return ret == len ? 0 : -1; 2824 return ret == len ? 0 : -EFAULT;
2825} 2825}
2826 2826
2827#if !defined(__HAVE_ARCH_GATE_AREA) 2827#if !defined(__HAVE_ARCH_GATE_AREA)