mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 20:31:13 -05:00
sparc32: fix sparse warning in ptrace_32.c
Fix following warning: ptrace_32.c:444:16: warning: symbol 'syscall_trace' was not declared. Should it be static? Add declaration in kernel.h Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c0b0ba8486
commit
c8c8782d89
2 changed files with 5 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ asmlinkage int do_sys_sigstack(struct sigstack __user *ssptr,
|
|||
struct sigstack __user *ossptr,
|
||||
unsigned long sp);
|
||||
|
||||
/* ptrace_32.c */
|
||||
asmlinkage int syscall_trace(struct pt_regs *regs, int syscall_exit_p);
|
||||
|
||||
/* windows.c */
|
||||
void try_to_clear_window_buffer(struct pt_regs *regs, int who);
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@
|
|||
#include <asm/uaccess.h>
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
#include "kernel.h"
|
||||
|
||||
/* #define ALLOW_INIT_TRACING */
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue