1 #ifndef __ASM_H8300_SYSCALLS_32_H
2 #define __ASM_H8300_SYSCALLS_32_H
6 #include <linux/compiler.h>
7 #include <linux/linkage.h>
8 #include <linux/types.h>
9 #include <linux/ptrace.h>
12 syscall_get_nr(struct task_struct *task, struct pt_regs *regs)
14 return regs->orig_er0;
18 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
19 unsigned int i, unsigned int n, unsigned long *args)
51 /* Misc syscall related bits */
52 asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
53 asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
55 #endif /* __KERNEL__ */
56 #endif /* __ASM_H8300_SYSCALLS_32_H */