aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/crash_dump.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-05-07 12:14:29 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-05-10 13:24:50 +0200
commitf70a34c57602f5791a63869db95f3b97276cd1d2 (patch)
tree7fae02cf3b1379c195f344c7d5e1e3247d518a32 /arch/s390/kernel/crash_dump.c
parents390/cache: remove superfluous locking (diff)
downloadlinux-dev-f70a34c57602f5791a63869db95f3b97276cd1d2.tar.xz
linux-dev-f70a34c57602f5791a63869db95f3b97276cd1d2.zip
s390: make couple of variables and functions static
copy_oldmem_user() and ap_jumptable are private to the files they are being used in. Therefore make them static. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/crash_dump.c')
-rw-r--r--arch/s390/kernel/crash_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/crash_dump.c b/arch/s390/kernel/crash_dump.c
index 3986c9f62191..29df8484282b 100644
--- a/arch/s390/kernel/crash_dump.c
+++ b/arch/s390/kernel/crash_dump.c
@@ -173,7 +173,7 @@ int copy_oldmem_kernel(void *dst, void *src, size_t count)
/*
* Copy memory of the old, dumped system to a user space virtual address
*/
-int copy_oldmem_user(void __user *dst, void *src, size_t count)
+static int copy_oldmem_user(void __user *dst, void *src, size_t count)
{
unsigned long from, len;
int rc;