summaryrefslogtreecommitdiffstats
path: root/arch/h8300/kernel/syscalls.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-01-28 02:46:20 +0900
committerYoshinori Sato <ysato@users.sourceforge.jp>2015-06-23 13:35:53 +0900
commit4e0c20981ec16d13cfebaad7ed6245a472df2ed0 (patch)
treef576a7dfabb2541731d451248beb1f94bf6055d2 /arch/h8300/kernel/syscalls.c
parentfe54616d857da4ccb482eb40fef0e0f3b3d0efaf (diff)
downloadlinux-4e0c20981ec16d13cfebaad7ed6245a472df2ed0.tar.bz2
h8300: miscellaneous functions
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/kernel/syscalls.c')
-rw-r--r--arch/h8300/kernel/syscalls.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/h8300/kernel/syscalls.c b/arch/h8300/kernel/syscalls.c
new file mode 100644
index 000000000000..1f9123a013d3
--- /dev/null
+++ b/arch/h8300/kernel/syscalls.c
@@ -0,0 +1,14 @@
+#include <linux/syscalls.h>
+#include <linux/signal.h>
+#include <linux/unistd.h>
+
+#undef __SYSCALL
+#define __SYSCALL(nr, call) [nr] = (call),
+
+#define sys_mmap2 sys_mmap_pgoff
+
+asmlinkage int sys_rt_sigreturn(void);
+
+void *_sys_call_table[__NR_syscalls] = {
+#include <asm/unistd.h>
+};