Commit 5d7e01f8 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: add the bits needed for AIO and sendfile64 support.

This is extra syscall entries + KM_IRQ0/1.
parent 0ceeaa7b
...@@ -1298,6 +1298,12 @@ _GLOBAL(sys_call_table) ...@@ -1298,6 +1298,12 @@ _GLOBAL(sys_call_table)
.long sys_sched_getaffinity .long sys_sched_getaffinity
.long sys_security .long sys_security
.long sys_ni_syscall /* 225 - reserved for Tux */ .long sys_ni_syscall /* 225 - reserved for Tux */
.long sys_sendfile64
.long sys_io_setup
.long sys_io_destroy
.long sys_io_getevents
.long sys_io_submit /* 230 */
.long sys_io_cancel
.rept NR_syscalls-(.-sys_call_table)/4 .rept NR_syscalls-(.-sys_call_table)/4
.long sys_ni_syscall .long sys_ni_syscall
......
...@@ -15,6 +15,8 @@ enum km_type { ...@@ -15,6 +15,8 @@ enum km_type {
KM_BIO_DST_IRQ, KM_BIO_DST_IRQ,
KM_PTE0, KM_PTE0,
KM_PTE1, KM_PTE1,
KM_IRQ0,
KM_IRQ1,
KM_TYPE_NR KM_TYPE_NR
}; };
......
...@@ -233,6 +233,12 @@ ...@@ -233,6 +233,12 @@
#define __NR_sched_getaffinity 223 #define __NR_sched_getaffinity 223
#define __NR_security 224 #define __NR_security 224
#define __NR_tuxcall 225 #define __NR_tuxcall 225
#define __NR_sendfile64 226
#define __NR_io_setup 227
#define __NR_io_destroy 228
#define __NR_io_getevents 229
#define __NR_io_submit 230
#define __NR_io_cancel 231
#define __NR(n) #n #define __NR(n) #n
......
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