tile: move declaration of sys_call_table to <asm/syscall.h>

When activating syscall tracing, kernel/trace/trace_syscalls.c doesn't
find sys_call_table because it includes <asm/syscall.h>, not
<asm/syscalls.h>. Also, looking at the other architectures, that is
probably where it should be.

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
This commit is contained in:
Simon Marchi 2013-01-21 19:54:55 -05:00 committed by Chris Metcalf
parent 969f6fe6fc
commit e2ed522aaa
2 changed files with 6 additions and 6 deletions

View File

@ -22,6 +22,12 @@
#include <linux/err.h>
#include <arch/abi.h>
/* The array of function pointers for syscalls. */
extern void *sys_call_table[];
#ifdef CONFIG_COMPAT
extern void *compat_sys_call_table[];
#endif
/*
* Only the low 32 bits of orig_r0 are meaningful, so we return int.
* This importantly ignores the high bits on 64-bit, so comparisons

View File

@ -24,12 +24,6 @@
#include <linux/types.h>
#include <linux/compat.h>
/* The array of function pointers for syscalls. */
extern void *sys_call_table[];
#ifdef CONFIG_COMPAT
extern void *compat_sys_call_table[];
#endif
/*
* Note that by convention, any syscall which requires the current
* register set takes an additional "struct pt_regs *" pointer; a