Skip to content

Commit

Permalink
[SPARC64]: More sparse warning fixes in process.c
Browse files Browse the repository at this point in the history
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: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Feb 20, 2008
1 parent 6ca94a1 commit b142240
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sparc64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <linux/tick.h>
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/elfcore.h>

#include <asm/oplib.h>
#include <asm/uaccess.h>
Expand All @@ -48,6 +49,7 @@
#include <asm/hypervisor.h>
#include <asm/sstate.h>
#include <asm/reboot.h>
#include <asm/syscalls.h>

/* #define VERBOSE_SHOWREGS */

Expand Down
13 changes: 13 additions & 0 deletions include/asm-sparc64/syscalls.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#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 */

0 comments on commit b142240

Please sign in to comment.