summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2004-02-06 03:32:56 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-02-06 03:32:56 -0800
commit2be90e00a8e1231a3b6c1d3376f066da591b1d9b (patch)
tree9a274bc72cd162269b5427645be6bddd7e9c8926 /include
parent774bf41565f413587099ae1240c1eb9159face77 (diff)
[SPARC]: Fix AIO syscall numbering.
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc/unistd.h14
-rw-r--r--include/asm-sparc64/unistd.h14
2 files changed, 14 insertions, 14 deletions
diff --git a/include/asm-sparc/unistd.h b/include/asm-sparc/unistd.h
index 044ab5ab5747..695768130a4c 100644
--- a/include/asm-sparc/unistd.h
+++ b/include/asm-sparc/unistd.h
@@ -285,14 +285,14 @@
#define __NR_timer_create 266
/* #define __NR_vserver 267 Reserved for VSERVER */
#define __NR_io_setup 268
-#define __NR_io_destroy 268
-#define __NR_io_submit 269
-#define __NR_io_cancel 270
-#define __NR_io_getevents 271
-/* WARNING: You MAY NOT add syscall numbers larger than 271, since
+#define __NR_io_destroy 269
+#define __NR_io_submit 270
+#define __NR_io_cancel 271
+#define __NR_io_getevents 272
+/* WARNING: You MAY NOT add syscall numbers larger than 272, since
* all of the syscall tables in the Sparc kernel are
- * sized to have 272 entries (starting at zero). Therefore
- * find a free slot in the 0-271 range.
+ * sized to have 273 entries (starting at zero). Therefore
+ * find a free slot in the 0-272 range.
*/
#define _syscall0(type,name) \
diff --git a/include/asm-sparc64/unistd.h b/include/asm-sparc64/unistd.h
index defdb109015b..109d44cfabfe 100644
--- a/include/asm-sparc64/unistd.h
+++ b/include/asm-sparc64/unistd.h
@@ -287,14 +287,14 @@
#define __NR_timer_create 266
/* #define __NR_vserver 267 Reserved for VSERVER */
#define __NR_io_setup 268
-#define __NR_io_destroy 268
-#define __NR_io_submit 269
-#define __NR_io_cancel 270
-#define __NR_io_getevents 271
-/* WARNING: You MAY NOT add syscall numbers larger than 271, since
+#define __NR_io_destroy 269
+#define __NR_io_submit 270
+#define __NR_io_cancel 271
+#define __NR_io_getevents 272
+/* WARNING: You MAY NOT add syscall numbers larger than 272, since
* all of the syscall tables in the Sparc kernel are
- * sized to have 272 entries (starting at zero). Therefore
- * find a free slot in the 0-271 range.
+ * sized to have 273 entries (starting at zero). Therefore
+ * find a free slot in the 0-272 range.
*/
#define _syscall0(type,name) \