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:

committed by
Chris Metcalf

parent
969f6fe6fc
commit
e2ed522aaa
@@ -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
|
||||
|
Reference in New Issue
Block a user