ARM: shmobile: armadillo800eva defconfig: Enable REGULATOR_GPIO and LEDS_GPIO
[pandora-kernel.git] / mm / fremap.c
index 2c5646f..72b8fa3 100644 (file)
@@ -149,6 +149,10 @@ SYSCALL_DEFINE5(remap_file_pages, unsigned long, start, unsigned long, size,
        int has_write_lock = 0;
        vm_flags_t vm_flags = 0;
 
+       pr_warn_once("%s (%d) uses deprecated remap_file_pages() syscall. "
+                       "See Documentation/vm/remap_file_pages.txt.\n",
+                       current->comm, current->pid);
+
        if (prot)
                return err;
        /*