Commit f70a34c5 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 4c07a399
...@@ -173,7 +173,7 @@ int copy_oldmem_kernel(void *dst, void *src, size_t count) ...@@ -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 * 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; unsigned long from, len;
int rc; int rc;
......
...@@ -787,7 +787,7 @@ static enum ap_wait ap_sm_setirq_wait(struct ap_device *ap_dev) ...@@ -787,7 +787,7 @@ static enum ap_wait ap_sm_setirq_wait(struct ap_device *ap_dev)
/* /*
* AP state machine jump table * AP state machine jump table
*/ */
ap_func_t *ap_jumptable[NR_AP_STATES][NR_AP_EVENTS] = { static ap_func_t *ap_jumptable[NR_AP_STATES][NR_AP_EVENTS] = {
[AP_STATE_RESET_START] = { [AP_STATE_RESET_START] = {
[AP_EVENT_POLL] = ap_sm_reset, [AP_EVENT_POLL] = ap_sm_reset,
[AP_EVENT_TIMEOUT] = ap_sm_nop, [AP_EVENT_TIMEOUT] = ap_sm_nop,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment