diff options
Diffstat (limited to 'arch/xtensa/kernel/syscalls.h')
-rw-r--r-- | arch/xtensa/kernel/syscalls.h | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/arch/xtensa/kernel/syscalls.h b/arch/xtensa/kernel/syscalls.h index 5b3f75f50feb..07580696b602 100644 --- a/arch/xtensa/kernel/syscalls.h +++ b/arch/xtensa/kernel/syscalls.h | |||
@@ -25,20 +25,19 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | SYSCALL(0, 0) /* 00 */ | 27 | SYSCALL(0, 0) /* 00 */ |
28 | |||
29 | SYSCALL(sys_exit, 1) | 28 | SYSCALL(sys_exit, 1) |
30 | SYSCALL(sys_fork, 0) | 29 | SYSCALL(sys_ni_syscall, 0) |
31 | SYSCALL(sys_read, 3) | 30 | SYSCALL(sys_read, 3) |
32 | SYSCALL(sys_write, 3) | 31 | SYSCALL(sys_write, 3) |
33 | SYSCALL(sys_open, 3) /* 05 */ | 32 | SYSCALL(sys_open, 3) /* 05 */ |
34 | SYSCALL(sys_close, 1) | 33 | SYSCALL(sys_close, 1) |
35 | SYSCALL(sys_waitpid, 3) | 34 | SYSCALL(sys_ni_syscall, 3) |
36 | SYSCALL(sys_creat, 2) | 35 | SYSCALL(sys_creat, 2) |
37 | SYSCALL(sys_link, 2) | 36 | SYSCALL(sys_link, 2) |
38 | SYSCALL(sys_unlink, 1) /* 10 */ | 37 | SYSCALL(sys_unlink, 1) /* 10 */ |
39 | SYSCALL(sys_execve, 0) | 38 | SYSCALL(sys_execve, 0) |
40 | SYSCALL(sys_chdir, 1) | 39 | SYSCALL(sys_chdir, 1) |
41 | SYSCALL(sys_time, 1) | 40 | SYSCALL(sys_ni_syscall, 1) |
42 | SYSCALL(sys_mknod, 3) | 41 | SYSCALL(sys_mknod, 3) |
43 | SYSCALL(sys_chmod, 2) /* 15 */ | 42 | SYSCALL(sys_chmod, 2) /* 15 */ |
44 | SYSCALL(sys_lchown, 3) | 43 | SYSCALL(sys_lchown, 3) |
@@ -47,19 +46,19 @@ SYSCALL(sys_stat, 2) | |||
47 | SYSCALL(sys_lseek, 3) | 46 | SYSCALL(sys_lseek, 3) |
48 | SYSCALL(sys_getpid, 0) /* 20 */ | 47 | SYSCALL(sys_getpid, 0) /* 20 */ |
49 | SYSCALL(sys_mount, 5) | 48 | SYSCALL(sys_mount, 5) |
50 | SYSCALL(sys_oldumount, 1) | 49 | SYSCALL(sys_ni_syscall, 1) |
51 | SYSCALL(sys_setuid, 1) | 50 | SYSCALL(sys_setuid, 1) |
52 | SYSCALL(sys_getuid, 0) | 51 | SYSCALL(sys_getuid, 0) |
53 | SYSCALL(sys_stime, 1) /* 25 */ | 52 | SYSCALL(sys_ni_syscall, 1) /* 25 */ |
54 | SYSCALL(sys_ptrace, 4) | 53 | SYSCALL(sys_ptrace, 4) |
55 | SYSCALL(sys_alarm, 1) | 54 | SYSCALL(sys_ni_syscall, 1) |
56 | SYSCALL(sys_fstat, 2) | 55 | SYSCALL(sys_fstat, 2) |
57 | SYSCALL(sys_pause, 0) | 56 | SYSCALL(sys_ni_syscall, 0) |
58 | SYSCALL(sys_utime, 2) /* 30 */ | 57 | SYSCALL(sys_utime, 2) /* 30 */ |
59 | SYSCALL(sys_ni_syscall, 0) | 58 | SYSCALL(sys_ni_syscall, 0) |
60 | SYSCALL(sys_ni_syscall, 0) | 59 | SYSCALL(sys_ni_syscall, 0) |
61 | SYSCALL(sys_access, 2) | 60 | SYSCALL(sys_access, 2) |
62 | SYSCALL(sys_nice, 1) | 61 | SYSCALL(sys_ni_syscall, 1) |
63 | SYSCALL(sys_ni_syscall, 0) /* 35 */ | 62 | SYSCALL(sys_ni_syscall, 0) /* 35 */ |
64 | SYSCALL(sys_sync, 0) | 63 | SYSCALL(sys_sync, 0) |
65 | SYSCALL(sys_kill, 2) | 64 | SYSCALL(sys_kill, 2) |
@@ -73,7 +72,7 @@ SYSCALL(sys_ni_syscall, 0) | |||
73 | SYSCALL(sys_brk, 1) /* 45 */ | 72 | SYSCALL(sys_brk, 1) /* 45 */ |
74 | SYSCALL(sys_setgid, 1) | 73 | SYSCALL(sys_setgid, 1) |
75 | SYSCALL(sys_getgid, 0) | 74 | SYSCALL(sys_getgid, 0) |
76 | SYSCALL(sys_ni_syscall, 0) /* was signal(2) */ | 75 | SYSCALL(sys_ni_syscall, 0) |
77 | SYSCALL(sys_geteuid, 0) | 76 | SYSCALL(sys_geteuid, 0) |
78 | SYSCALL(sys_getegid, 0) /* 50 */ | 77 | SYSCALL(sys_getegid, 0) /* 50 */ |
79 | SYSCALL(sys_acct, 1) | 78 | SYSCALL(sys_acct, 1) |
@@ -84,21 +83,21 @@ SYSCALL(sys_fcntl, 3) /* 55 */ | |||
84 | SYSCALL(sys_ni_syscall, 2) | 83 | SYSCALL(sys_ni_syscall, 2) |
85 | SYSCALL(sys_setpgid, 2) | 84 | SYSCALL(sys_setpgid, 2) |
86 | SYSCALL(sys_ni_syscall, 0) | 85 | SYSCALL(sys_ni_syscall, 0) |
87 | SYSCALL(sys_olduname, 1) | 86 | SYSCALL(sys_ni_syscall, 0) |
88 | SYSCALL(sys_umask, 1) /* 60 */ | 87 | SYSCALL(sys_umask, 1) /* 60 */ |
89 | SYSCALL(sys_chroot, 1) | 88 | SYSCALL(sys_chroot, 1) |
90 | SYSCALL(sys_ustat, 2) | 89 | SYSCALL(sys_ustat, 2) |
91 | SYSCALL(sys_dup2, 2) | 90 | SYSCALL(sys_dup2, 2) |
92 | SYSCALL(sys_getppid, 0) | 91 | SYSCALL(sys_getppid, 0) |
93 | SYSCALL(sys_getpgrp, 0) /* 65 */ | 92 | SYSCALL(sys_ni_syscall, 0) /* 65 */ |
94 | SYSCALL(sys_setsid, 0) | 93 | SYSCALL(sys_setsid, 0) |
95 | SYSCALL(sys_sigaction, 3) | 94 | SYSCALL(sys_sigaction, 3) |
96 | SYSCALL(sys_sgetmask, 0) | 95 | SYSCALL(sys_ni_syscall, 0) |
97 | SYSCALL(sys_ssetmask, 1) | 96 | SYSCALL(sys_ni_syscall, 1) |
98 | SYSCALL(sys_setreuid, 2) /* 70 */ | 97 | SYSCALL(sys_setreuid, 2) /* 70 */ |
99 | SYSCALL(sys_setregid, 2) | 98 | SYSCALL(sys_setregid, 2) |
100 | SYSCALL(sys_sigsuspend, 0) | 99 | SYSCALL(sys_sigsuspend, 0) |
101 | SYSCALL(sys_sigpending, 1) | 100 | SYSCALL(sys_ni_syscall, 1) |
102 | SYSCALL(sys_sethostname, 2) | 101 | SYSCALL(sys_sethostname, 2) |
103 | SYSCALL(sys_setrlimit, 2) /* 75 */ | 102 | SYSCALL(sys_setrlimit, 2) /* 75 */ |
104 | SYSCALL(sys_getrlimit, 2) | 103 | SYSCALL(sys_getrlimit, 2) |
@@ -107,15 +106,15 @@ SYSCALL(sys_gettimeofday, 2) | |||
107 | SYSCALL(sys_settimeofday, 2) | 106 | SYSCALL(sys_settimeofday, 2) |
108 | SYSCALL(sys_getgroups, 2) /* 80 */ | 107 | SYSCALL(sys_getgroups, 2) /* 80 */ |
109 | SYSCALL(sys_setgroups, 2) | 108 | SYSCALL(sys_setgroups, 2) |
110 | SYSCALL(sys_ni_syscall, 0) /* old_select */ | 109 | SYSCALL(sys_ni_syscall, 0) |
111 | SYSCALL(sys_symlink, 2) | 110 | SYSCALL(sys_symlink, 2) |
112 | SYSCALL(sys_lstat, 2) | 111 | SYSCALL(sys_lstat, 2) |
113 | SYSCALL(sys_readlink, 3) /* 85 */ | 112 | SYSCALL(sys_readlink, 3) /* 85 */ |
114 | SYSCALL(sys_uselib, 1) | 113 | SYSCALL(sys_uselib, 1) |
115 | SYSCALL(sys_swapon, 2) | 114 | SYSCALL(sys_swapon, 2) |
116 | SYSCALL(sys_reboot, 3) | 115 | SYSCALL(sys_reboot, 3) |
117 | SYSCALL(old_readdir, 3) | 116 | SYSCALL(sys_ni_syscall, 3) |
118 | SYSCALL(old_mmap, 6) /* 90 */ | 117 | SYSCALL(sys_ni_syscall, 6) /* 90 */ |
119 | SYSCALL(sys_munmap, 2) | 118 | SYSCALL(sys_munmap, 2) |
120 | SYSCALL(sys_truncate, 2) | 119 | SYSCALL(sys_truncate, 2) |
121 | SYSCALL(sys_ftruncate, 2) | 120 | SYSCALL(sys_ftruncate, 2) |
@@ -127,7 +126,7 @@ SYSCALL(sys_ni_syscall, 0) | |||
127 | SYSCALL(sys_statfs, 2) | 126 | SYSCALL(sys_statfs, 2) |
128 | SYSCALL(sys_fstatfs, 2) /* 100 */ | 127 | SYSCALL(sys_fstatfs, 2) /* 100 */ |
129 | SYSCALL(sys_ni_syscall, 3) | 128 | SYSCALL(sys_ni_syscall, 3) |
130 | SYSCALL(sys_socketcall, 2) | 129 | SYSCALL(sys_ni_syscall, 2) |
131 | SYSCALL(sys_syslog, 3) | 130 | SYSCALL(sys_syslog, 3) |
132 | SYSCALL(sys_setitimer, 3) | 131 | SYSCALL(sys_setitimer, 3) |
133 | SYSCALL(sys_getitimer, 2) /* 105 */ | 132 | SYSCALL(sys_getitimer, 2) /* 105 */ |
@@ -137,32 +136,32 @@ SYSCALL(sys_newfstat, 2) | |||
137 | SYSCALL(sys_uname, 1) | 136 | SYSCALL(sys_uname, 1) |
138 | SYSCALL(sys_ni_syscall, 0) /* 110 */ | 137 | SYSCALL(sys_ni_syscall, 0) /* 110 */ |
139 | SYSCALL(sys_vhangup, 0) | 138 | SYSCALL(sys_vhangup, 0) |
140 | SYSCALL(sys_ni_syscall, 0) /* was sys_idle() */ | 139 | SYSCALL(sys_ni_syscall, 0) |
141 | SYSCALL(sys_ni_syscall, 0) | 140 | SYSCALL(sys_ni_syscall, 0) |
142 | SYSCALL(sys_wait4, 4) | 141 | SYSCALL(sys_wait4, 4) |
143 | SYSCALL(sys_swapoff, 1) /* 115 */ | 142 | SYSCALL(sys_swapoff, 1) /* 115 */ |
144 | SYSCALL(sys_sysinfo, 1) | 143 | SYSCALL(sys_sysinfo, 1) |
145 | SYSCALL(sys_ipc, 5) /* 6 really, but glibc uses only 5) */ | 144 | SYSCALL(sys_ni_syscall, 0) |
146 | SYSCALL(sys_fsync, 1) | 145 | SYSCALL(sys_fsync, 1) |
147 | SYSCALL(sys_sigreturn, 0) | 146 | SYSCALL(sys_sigreturn, 0) |
148 | SYSCALL(sys_clone, 0) /* 120 */ | 147 | SYSCALL(sys_clone, 0) /* 120 */ |
149 | SYSCALL(sys_setdomainname, 2) | 148 | SYSCALL(sys_setdomainname, 2) |
150 | SYSCALL(sys_newuname, 1) | 149 | SYSCALL(sys_newuname, 1) |
151 | SYSCALL(sys_ni_syscall, 0) /* sys_modify_ldt */ | 150 | SYSCALL(sys_ni_syscall, 0) |
152 | SYSCALL(sys_adjtimex, 1) | 151 | SYSCALL(sys_adjtimex, 1) |
153 | SYSCALL(sys_mprotect, 3) /* 125 */ | 152 | SYSCALL(sys_mprotect, 3) /* 125 */ |
154 | SYSCALL(sys_sigprocmask, 3) | 153 | SYSCALL(sys_ni_syscall, 3) |
155 | SYSCALL(sys_ni_syscall, 2) /* old sys_create_module */ | 154 | SYSCALL(sys_ni_syscall, 2) |
156 | SYSCALL(sys_init_module, 2) | 155 | SYSCALL(sys_init_module, 2) |
157 | SYSCALL(sys_delete_module, 1) | 156 | SYSCALL(sys_delete_module, 1) |
158 | SYSCALL(sys_ni_syscall, 1) /* old sys_get_kernel_sysm */ /* 130 */ | 157 | SYSCALL(sys_ni_syscall, 1) /* 130 */ |
159 | SYSCALL(sys_quotactl, 0) | 158 | SYSCALL(sys_quotactl, 0) |
160 | SYSCALL(sys_getpgid, 1) | 159 | SYSCALL(sys_getpgid, 1) |
161 | SYSCALL(sys_fchdir, 1) | 160 | SYSCALL(sys_fchdir, 1) |
162 | SYSCALL(sys_bdflush, 2) | 161 | SYSCALL(sys_bdflush, 2) |
163 | SYSCALL(sys_sysfs, 3) /* 135 */ | 162 | SYSCALL(sys_sysfs, 3) /* 135 */ |
164 | SYSCALL(sys_personality, 1) | 163 | SYSCALL(sys_personality, 1) |
165 | SYSCALL(sys_ni_syscall, 0) /* for afs_syscall */ | 164 | SYSCALL(sys_ni_syscall, 0) |
166 | SYSCALL(sys_setfsuid, 1) | 165 | SYSCALL(sys_setfsuid, 1) |
167 | SYSCALL(sys_setfsgid, 1) | 166 | SYSCALL(sys_setfsgid, 1) |
168 | SYSCALL(sys_llseek, 5) /* 140 */ | 167 | SYSCALL(sys_llseek, 5) /* 140 */ |
@@ -212,7 +211,7 @@ SYSCALL(sys_socket, 3) | |||
212 | SYSCALL(sys_socketpair, 4) | 211 | SYSCALL(sys_socketpair, 4) |
213 | SYSCALL(sys_setresuid, 3) /* 185 */ | 212 | SYSCALL(sys_setresuid, 3) /* 185 */ |
214 | SYSCALL(sys_getresuid, 3) | 213 | SYSCALL(sys_getresuid, 3) |
215 | SYSCALL(sys_ni_syscall, 5) /* old sys_query_module */ | 214 | SYSCALL(sys_ni_syscall, 5) |
216 | SYSCALL(sys_poll, 3) | 215 | SYSCALL(sys_poll, 3) |
217 | SYSCALL(sys_nfsservctl, 3) | 216 | SYSCALL(sys_nfsservctl, 3) |
218 | SYSCALL(sys_setresgid, 3) /* 190 */ | 217 | SYSCALL(sys_setresgid, 3) /* 190 */ |
@@ -235,7 +234,7 @@ SYSCALL(sys_sigaltstack, 0) | |||
235 | SYSCALL(sys_sendfile, 4) | 234 | SYSCALL(sys_sendfile, 4) |
236 | SYSCALL(sys_ni_syscall, 0) | 235 | SYSCALL(sys_ni_syscall, 0) |
237 | SYSCALL(sys_ni_syscall, 0) | 236 | SYSCALL(sys_ni_syscall, 0) |
238 | SYSCALL(sys_mmap2, 6) /* 210 */ | 237 | SYSCALL(sys_mmap, 6) /* 210 */ |
239 | SYSCALL(sys_truncate64, 2) | 238 | SYSCALL(sys_truncate64, 2) |
240 | SYSCALL(sys_ftruncate64, 2) | 239 | SYSCALL(sys_ftruncate64, 2) |
241 | SYSCALL(sys_stat64, 2) | 240 | SYSCALL(sys_stat64, 2) |
@@ -245,4 +244,4 @@ SYSCALL(sys_pivot_root, 2) | |||
245 | SYSCALL(sys_mincore, 3) | 244 | SYSCALL(sys_mincore, 3) |
246 | SYSCALL(sys_madvise, 3) | 245 | SYSCALL(sys_madvise, 3) |
247 | SYSCALL(sys_getdents64, 3) | 246 | SYSCALL(sys_getdents64, 3) |
248 | SYSCALL(sys_vfork, 0) /* 220 */ | 247 | SYSCALL(sys_ni_syscall, 0) /* 220 */ |