提交 86b68c38 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

s390/syscalls: remove system call number calculation

Explicitly write the system call number for each define instead of
calculating it. This makes it easier to parse the file when generating
system call tables for various tools and libraries.
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 cd5dead9
...@@ -192,14 +192,14 @@ ...@@ -192,14 +192,14 @@
#define __NR_set_tid_address 252 #define __NR_set_tid_address 252
#define __NR_fadvise64 253 #define __NR_fadvise64 253
#define __NR_timer_create 254 #define __NR_timer_create 254
#define __NR_timer_settime (__NR_timer_create+1) #define __NR_timer_settime 255
#define __NR_timer_gettime (__NR_timer_create+2) #define __NR_timer_gettime 256
#define __NR_timer_getoverrun (__NR_timer_create+3) #define __NR_timer_getoverrun 257
#define __NR_timer_delete (__NR_timer_create+4) #define __NR_timer_delete 258
#define __NR_clock_settime (__NR_timer_create+5) #define __NR_clock_settime 259
#define __NR_clock_gettime (__NR_timer_create+6) #define __NR_clock_gettime 260
#define __NR_clock_getres (__NR_timer_create+7) #define __NR_clock_getres 261
#define __NR_clock_nanosleep (__NR_timer_create+8) #define __NR_clock_nanosleep 262
/* Number 263 is reserved for vserver */ /* Number 263 is reserved for vserver */
#define __NR_statfs64 265 #define __NR_statfs64 265
#define __NR_fstatfs64 266 #define __NR_fstatfs64 266
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册