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