提交 78b1f3cb 编写于 作者: S Szabolcs Nagy 提交者: Rich Felker

add preadv2 and pwritev2 syscall numbers for linux v4.6

the syscalls take an additional flag argument, they were added in commit
f17d8b35452cab31a70d224964cd583fb2845449 and a RWF_HIPRI priority hint
flag was added to linux/fs.h in 97be7ebe53915af504fb491fb99f064c7cf3cb09.

the syscall is not allocated for microblaze and sh yet.
上级 77baaa47
...@@ -269,4 +269,6 @@ ...@@ -269,4 +269,6 @@
#define __NR_membarrier 283 #define __NR_membarrier 283
#define __NR_mlock2 284 #define __NR_mlock2 284
#define __NR_copy_file_range 285 #define __NR_copy_file_range 285
#define __NR_preadv2 286
#define __NR_pwritev2 287
...@@ -345,6 +345,8 @@ ...@@ -345,6 +345,8 @@
#define __NR_membarrier 389 #define __NR_membarrier 389
#define __NR_mlock2 390 #define __NR_mlock2 390
#define __NR_copy_file_range 391 #define __NR_copy_file_range 391
#define __NR_preadv2 392
#define __NR_pwritev2 393
#define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_breakpoint 0x0f0001
#define __ARM_NR_cacheflush 0x0f0002 #define __ARM_NR_cacheflush 0x0f0002
......
...@@ -376,4 +376,6 @@ ...@@ -376,4 +376,6 @@
#define __NR_membarrier 375 #define __NR_membarrier 375
#define __NR_mlock2 376 #define __NR_mlock2 376
#define __NR_copy_file_range 377 #define __NR_copy_file_range 377
#define __NR_preadv2 378
#define __NR_pwritev2 379
...@@ -358,4 +358,6 @@ ...@@ -358,4 +358,6 @@
#define __NR_membarrier 4358 #define __NR_membarrier 4358
#define __NR_mlock2 4359 #define __NR_mlock2 4359
#define __NR_copy_file_range 4360 #define __NR_copy_file_range 4360
#define __NR_preadv2 4361
#define __NR_pwritev2 4362
...@@ -318,4 +318,6 @@ ...@@ -318,4 +318,6 @@
#define __NR_membarrier 5318 #define __NR_membarrier 5318
#define __NR_mlock2 5319 #define __NR_mlock2 5319
#define __NR_copy_file_range 5320 #define __NR_copy_file_range 5320
#define __NR_preadv2 5321
#define __NR_pwritev2 5322
...@@ -322,4 +322,6 @@ ...@@ -322,4 +322,6 @@
#define __NR_membarrier 6322 #define __NR_membarrier 6322
#define __NR_mlock2 6323 #define __NR_mlock2 6323
#define __NR_copy_file_range 6324 #define __NR_copy_file_range 6324
#define __NR_preadv2 6325
#define __NR_pwritev2 6326
...@@ -269,4 +269,6 @@ ...@@ -269,4 +269,6 @@
#define __NR_membarrier 283 #define __NR_membarrier 283
#define __NR_mlock2 284 #define __NR_mlock2 284
#define __NR_copy_file_range 285 #define __NR_copy_file_range 285
#define __NR_preadv2 286
#define __NR_pwritev2 287
...@@ -369,4 +369,6 @@ ...@@ -369,4 +369,6 @@
#define __NR_membarrier 365 #define __NR_membarrier 365
#define __NR_mlock2 378 #define __NR_mlock2 378
#define __NR_copy_file_range 379 #define __NR_copy_file_range 379
#define __NR_preadv2 380
#define __NR_pwritev2 381
...@@ -355,4 +355,6 @@ ...@@ -355,4 +355,6 @@
#define __NR_membarrier 365 #define __NR_membarrier 365
#define __NR_mlock2 378 #define __NR_mlock2 378
#define __NR_copy_file_range 379 #define __NR_copy_file_range 379
#define __NR_preadv2 380
#define __NR_pwritev2 381
...@@ -280,6 +280,8 @@ ...@@ -280,6 +280,8 @@
#define __NR_membarrier (0x40000000 + 324) #define __NR_membarrier (0x40000000 + 324)
#define __NR_mlock2 (0x40000000 + 325) #define __NR_mlock2 (0x40000000 + 325)
#define __NR_copy_file_range (0x40000000 + 326) #define __NR_copy_file_range (0x40000000 + 326)
#define __NR_preadv2 (0x40000000 + 327)
#define __NR_pwritev2 (0x40000000 + 328)
#define __NR_rt_sigaction (0x40000000 + 512) #define __NR_rt_sigaction (0x40000000 + 512)
#define __NR_rt_sigreturn (0x40000000 + 513) #define __NR_rt_sigreturn (0x40000000 + 513)
......
...@@ -325,4 +325,6 @@ ...@@ -325,4 +325,6 @@
#define __NR_membarrier 324 #define __NR_membarrier 324
#define __NR_mlock2 325 #define __NR_mlock2 325
#define __NR_copy_file_range 326 #define __NR_copy_file_range 326
#define __NR_preadv2 327
#define __NR_pwritev2 328
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册