summaryrefslogtreecommitdiffstats
path: root/mm/process_vm_access.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-04-03 14:48:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 16:21:02 -0700
commit2eb2e141c018b768c88ff84eafa1279f11f2e248 (patch)
tree1e2eb8ab374528ff1fc72dda47f9334158f0b00f /mm/process_vm_access.c
parenteafd4dc4d76a9c6f184cc1de5a7891b7f6f76f2c (diff)
downloadlinux-2eb2e141c018b768c88ff84eafa1279f11f2e248.tar.gz
linux-2eb2e141c018b768c88ff84eafa1279f11f2e248.tar.bz2
linux-2eb2e141c018b768c88ff84eafa1279f11f2e248.zip
mm/process_vm_access.c: mark function as static
Mark function as static in process_vm_access.c because it is not used outside this file. This eliminates the following warning in mm/process_vm_access.c: mm/process_vm_access.c:416:1: warning: no previous prototype for `compat_process_vm_rw' [-Wmissing-prototypes] [akpm@linux-foundation.org: remove unneeded asmlinkage - compat_process_vm_rw isn't referenced from asm] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/process_vm_access.c')
-rw-r--r--mm/process_vm_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c
index 3c5cf68566ec..cb79065c19e5 100644
--- a/mm/process_vm_access.c
+++ b/mm/process_vm_access.c
@@ -412,7 +412,7 @@ SYSCALL_DEFINE6(process_vm_writev, pid_t, pid,
#ifdef CONFIG_COMPAT
-asmlinkage ssize_t
+static ssize_t
compat_process_vm_rw(compat_pid_t pid,
const struct compat_iovec __user *lvec,
unsigned long liovcnt,