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:
parent
969f6fe6fc
commit
e2ed522aaa
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue