2 * Copyright (C) 2002 - 2003 Jeff Dike (jdike@addtoit.com)
3 * Licensed under the GPL
7 #include "linux/ptrace.h"
9 #include "asm/unistd.h"
10 #include "asm/ptrace.h"
11 #include "asm/current.h"
12 #include "sysdep/syscalls.h"
13 #include "kern_util.h"
15 extern syscall_handler_t *sys_call_table[];
17 long execute_syscall_skas(void *r)
19 struct pt_regs *regs = r;
23 current->thread.nsyscalls++;
25 syscall = UPT_SYSCALL_NR(®s->regs);
27 if((syscall >= NR_syscalls) || (syscall < 0))
29 else res = EXECUTE_SYSCALL(syscall, regs);
35 * Overrides for Emacs so that we follow Linus's tabbing style.
36 * Emacs will notice this stuff at the end of the file and automatically
37 * adjust the settings for this buffer only. This must remain at the end
39 * ---------------------------------------------------------------------------
41 * c-file-style: "linux"