Commit 2be90e00 authored by David S. Miller's avatar David S. Miller

[SPARC]: Fix AIO syscall numbering.

parent 774bf415
...@@ -285,14 +285,14 @@ ...@@ -285,14 +285,14 @@
#define __NR_timer_create 266 #define __NR_timer_create 266
/* #define __NR_vserver 267 Reserved for VSERVER */ /* #define __NR_vserver 267 Reserved for VSERVER */
#define __NR_io_setup 268 #define __NR_io_setup 268
#define __NR_io_destroy 268 #define __NR_io_destroy 269
#define __NR_io_submit 269 #define __NR_io_submit 270
#define __NR_io_cancel 270 #define __NR_io_cancel 271
#define __NR_io_getevents 271 #define __NR_io_getevents 272
/* WARNING: You MAY NOT add syscall numbers larger than 271, since /* WARNING: You MAY NOT add syscall numbers larger than 272, since
* all of the syscall tables in the Sparc kernel are * all of the syscall tables in the Sparc kernel are
* sized to have 272 entries (starting at zero). Therefore * sized to have 273 entries (starting at zero). Therefore
* find a free slot in the 0-271 range. * find a free slot in the 0-272 range.
*/ */
#define _syscall0(type,name) \ #define _syscall0(type,name) \
......
...@@ -287,14 +287,14 @@ ...@@ -287,14 +287,14 @@
#define __NR_timer_create 266 #define __NR_timer_create 266
/* #define __NR_vserver 267 Reserved for VSERVER */ /* #define __NR_vserver 267 Reserved for VSERVER */
#define __NR_io_setup 268 #define __NR_io_setup 268
#define __NR_io_destroy 268 #define __NR_io_destroy 269
#define __NR_io_submit 269 #define __NR_io_submit 270
#define __NR_io_cancel 270 #define __NR_io_cancel 271
#define __NR_io_getevents 271 #define __NR_io_getevents 272
/* WARNING: You MAY NOT add syscall numbers larger than 271, since /* WARNING: You MAY NOT add syscall numbers larger than 272, since
* all of the syscall tables in the Sparc kernel are * all of the syscall tables in the Sparc kernel are
* sized to have 272 entries (starting at zero). Therefore * sized to have 273 entries (starting at zero). Therefore
* find a free slot in the 0-271 range. * find a free slot in the 0-272 range.
*/ */
#define _syscall0(type,name) \ #define _syscall0(type,name) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment