David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 1 | /* MN10300 System call number list |
| 2 | * |
| 3 | * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public Licence |
| 8 | * as published by the Free Software Foundation; either version |
| 9 | * 2 of the Licence, or (at your option) any later version. |
| 10 | */ |
| 11 | #ifndef _ASM_UNISTD_H |
| 12 | #define _ASM_UNISTD_H |
| 13 | |
David Howells | 3b2267e | 2012-10-10 12:10:10 +0100 | [diff] [blame] | 14 | #include <uapi/asm/unistd.h> |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 15 | |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 16 | |
Eric W. Biederman | 7b21fdd | 2011-05-27 19:28:27 -0700 | [diff] [blame] | 17 | #define NR_syscalls 340 |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 18 | |
| 19 | /* |
| 20 | * specify the deprecated syscalls we want to support on this arch |
| 21 | */ |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 22 | #define __ARCH_WANT_OLD_READDIR |
| 23 | #define __ARCH_WANT_OLD_STAT |
| 24 | #define __ARCH_WANT_STAT64 |
| 25 | #define __ARCH_WANT_SYS_ALARM |
| 26 | #define __ARCH_WANT_SYS_GETHOSTNAME |
Christoph Hellwig | baed7fc | 2010-03-10 15:21:18 -0800 | [diff] [blame] | 27 | #define __ARCH_WANT_SYS_IPC |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 28 | #define __ARCH_WANT_SYS_PAUSE |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 29 | #define __ARCH_WANT_SYS_SIGNAL |
| 30 | #define __ARCH_WANT_SYS_TIME |
| 31 | #define __ARCH_WANT_SYS_UTIME |
| 32 | #define __ARCH_WANT_SYS_WAITPID |
| 33 | #define __ARCH_WANT_SYS_SOCKETCALL |
| 34 | #define __ARCH_WANT_SYS_FADVISE64 |
| 35 | #define __ARCH_WANT_SYS_GETPGRP |
| 36 | #define __ARCH_WANT_SYS_LLSEEK |
| 37 | #define __ARCH_WANT_SYS_NICE |
| 38 | #define __ARCH_WANT_SYS_OLD_GETRLIMIT |
Christoph Hellwig | 5d0e528 | 2010-03-10 15:21:13 -0800 | [diff] [blame] | 39 | #define __ARCH_WANT_SYS_OLD_SELECT |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 40 | #define __ARCH_WANT_SYS_OLDUMOUNT |
| 41 | #define __ARCH_WANT_SYS_SIGPENDING |
| 42 | #define __ARCH_WANT_SYS_SIGPROCMASK |
Al Viro | 1ea2a016 | 2012-10-21 16:43:13 -0400 | [diff] [blame] | 43 | #define __ARCH_WANT_SYS_FORK |
| 44 | #define __ARCH_WANT_SYS_VFORK |
| 45 | #define __ARCH_WANT_SYS_CLONE |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 46 | |
David Howells | b920de1 | 2008-02-08 04:19:31 -0800 | [diff] [blame] | 47 | #endif /* _ASM_UNISTD_H */ |