summaryrefslogtreecommitdiff
path: root/arch/h8300/include/asm/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/h8300/include/asm/syscall.h')
-rw-r--r--arch/h8300/include/asm/syscall.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/arch/h8300/include/asm/syscall.h b/arch/h8300/include/asm/syscall.h
deleted file mode 100644
index 01666b8bb263..000000000000
--- a/arch/h8300/include/asm/syscall.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ASM_H8300_SYSCALLS_32_H
-#define __ASM_H8300_SYSCALLS_32_H
-
-#ifdef __KERNEL__
-
-#include <linux/compiler.h>
-#include <linux/linkage.h>
-#include <linux/types.h>
-#include <linux/ptrace.h>
-#include <uapi/linux/audit.h>
-
-static inline int
-syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
-{
- return regs->orig_er0;
-}
-
-static inline void
-syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
- unsigned long *args)
-{
- *args++ = regs->er1;
- *args++ = regs->er2;
- *args++ = regs->er3;
- *args++ = regs->er4;
- *args++ = regs->er5;
- *args = regs->er6;
-}
-
-static inline int
-syscall_get_arch(struct task_struct *task)
-{
- return AUDIT_ARCH_H8300;
-}
-
-
-/* Misc syscall related bits */
-asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
-asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
-
-#endif /* __KERNEL__ */
-#endif /* __ASM_H8300_SYSCALLS_32_H */