Commit b1422401 authored by David S. Miller's avatar David S. Miller

[SPARC64]: More sparse warning fixes in process.c

arch/sparc64/kernel/process.c:504:17: warning: symbol 'sparc_do_fork' was not declared. Should it be static?
arch/sparc64/kernel/process.c:655:5: warning: symbol 'dump_fpu' was not declared. Should it be static?
arch/sparc64/kernel/process.c:708:16: warning: symbol 'sparc_execve' was not declared. Should it be static?
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ca94a13
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <linux/tick.h> #include <linux/tick.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/cpu.h> #include <linux/cpu.h>
#include <linux/elfcore.h>
#include <asm/oplib.h> #include <asm/oplib.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
...@@ -48,6 +49,7 @@ ...@@ -48,6 +49,7 @@
#include <asm/hypervisor.h> #include <asm/hypervisor.h>
#include <asm/sstate.h> #include <asm/sstate.h>
#include <asm/reboot.h> #include <asm/reboot.h>
#include <asm/syscalls.h>
/* #define VERBOSE_SHOWREGS */ /* #define VERBOSE_SHOWREGS */
......
#ifndef _SPARC64_SYSCALLS_H
#define _SPARC64_SYSCALLS_H
struct pt_regs;
extern asmlinkage long sparc_do_fork(unsigned long clone_flags,
unsigned long stack_start,
struct pt_regs *regs,
unsigned long stack_size);
extern asmlinkage int sparc_execve(struct pt_regs *regs);
#endif /* _SPARC64_SYSCALLS_H */
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