summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2013-01-21 19:54:55 -0500
committerChris Metcalf <cmetcalf@tilera.com>2013-03-21 15:39:35 -0400
commite2ed522aaad79db339cecbbc4ae2a0d422ee4c4f (patch)
treed40243ca92e469ef3e03fce907aae2ebd5a293ff /arch/tile
parent969f6fe6fc5ecc7a2edcc34f29b7f05fcf982266 (diff)
downloadlinux-e2ed522aaad79db339cecbbc4ae2a0d422ee4c4f.tar.gz
linux-e2ed522aaad79db339cecbbc4ae2a0d422ee4c4f.tar.bz2
linux-e2ed522aaad79db339cecbbc4ae2a0d422ee4c4f.zip
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>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/include/asm/syscall.h6
-rw-r--r--arch/tile/include/asm/syscalls.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/tile/include/asm/syscall.h b/arch/tile/include/asm/syscall.h
index d35e0dcb67b1..9644b88f133d 100644
--- a/arch/tile/include/asm/syscall.h
+++ b/arch/tile/include/asm/syscall.h
@@ -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
diff --git a/arch/tile/include/asm/syscalls.h b/arch/tile/include/asm/syscalls.h
index 78886e2417a6..07b298450ef2 100644
--- a/arch/tile/include/asm/syscalls.h
+++ b/arch/tile/include/asm/syscalls.h
@@ -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