diff options
Diffstat (limited to 'mm/fremap.c')
-rw-r--r-- | mm/fremap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/fremap.c b/mm/fremap.c index 2c5646f11f41..72b8fa361433 100644 --- a/mm/fremap.c +++ b/mm/fremap.c | |||
@@ -149,6 +149,10 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size, | |||
149 | int has_write_lock = 0; | 149 | int has_write_lock = 0; |
150 | vm_flags_t vm_flags = 0; | 150 | vm_flags_t vm_flags = 0; |
151 | 151 | ||
152 | pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. " | ||
153 | "See Documentation/vm/remap_file_pages.txt.\n", | ||
154 | current->comm, current->pid); | ||
155 | |||
152 | if (prot) | 156 | if (prot) |
153 | return err; | 157 | return err; |
154 | /* | 158 | /* |