diff options
author | David S. Miller <davem@davemloft.net> | 2005-07-10 18:11:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-10 18:11:45 -0400 |
commit | 9126dfde9e5efd76f9d4246819bdc7ea66de3af0 (patch) | |
tree | 4612cb20af3274a9037830736110ceed91bb612d | |
parent | 0109fd37046de64e8459f8c4f4706df9ac7cc82c (diff) |
[SPARC]: Add ioprio system call support.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc/kernel/systbls.S | 4 | ||||
-rw-r--r-- | arch/sparc64/kernel/sys32.S | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/systbls.S | 8 | ||||
-rw-r--r-- | include/asm-sparc/unistd.h | 4 | ||||
-rw-r--r-- | include/asm-sparc64/unistd.h | 4 |
5 files changed, 12 insertions, 10 deletions
diff --git a/arch/sparc/kernel/systbls.S b/arch/sparc/kernel/systbls.S index 928ffeb0fabb..025f4516e651 100644 --- a/arch/sparc/kernel/systbls.S +++ b/arch/sparc/kernel/systbls.S | |||
@@ -57,11 +57,11 @@ sys_call_table: | |||
57 | /*180*/ .long sys_flistxattr, sys_removexattr, sys_lremovexattr, sys_sigpending, sys_ni_syscall | 57 | /*180*/ .long sys_flistxattr, sys_removexattr, sys_lremovexattr, sys_sigpending, sys_ni_syscall |
58 | /*185*/ .long sys_setpgid, sys_fremovexattr, sys_tkill, sys_exit_group, sys_newuname | 58 | /*185*/ .long sys_setpgid, sys_fremovexattr, sys_tkill, sys_exit_group, sys_newuname |
59 | /*190*/ .long sys_init_module, sys_personality, sparc_remap_file_pages, sys_epoll_create, sys_epoll_ctl | 59 | /*190*/ .long sys_init_module, sys_personality, sparc_remap_file_pages, sys_epoll_create, sys_epoll_ctl |
60 | /*195*/ .long sys_epoll_wait, sys_nis_syscall, sys_getppid, sparc_sigaction, sys_sgetmask | 60 | /*195*/ .long sys_epoll_wait, sys_ioprio_set, sys_getppid, sparc_sigaction, sys_sgetmask |
61 | /*200*/ .long sys_ssetmask, sys_sigsuspend, sys_newlstat, sys_uselib, old_readdir | 61 | /*200*/ .long sys_ssetmask, sys_sigsuspend, sys_newlstat, sys_uselib, old_readdir |
62 | /*205*/ .long sys_readahead, sys_socketcall, sys_syslog, sys_lookup_dcookie, sys_fadvise64 | 62 | /*205*/ .long sys_readahead, sys_socketcall, sys_syslog, sys_lookup_dcookie, sys_fadvise64 |
63 | /*210*/ .long sys_fadvise64_64, sys_tgkill, sys_waitpid, sys_swapoff, sys_sysinfo | 63 | /*210*/ .long sys_fadvise64_64, sys_tgkill, sys_waitpid, sys_swapoff, sys_sysinfo |
64 | /*215*/ .long sys_ipc, sys_sigreturn, sys_clone, sys_nis_syscall, sys_adjtimex | 64 | /*215*/ .long sys_ipc, sys_sigreturn, sys_clone, sys_ioprio_get, sys_adjtimex |
65 | /*220*/ .long sys_sigprocmask, sys_ni_syscall, sys_delete_module, sys_ni_syscall, sys_getpgid | 65 | /*220*/ .long sys_sigprocmask, sys_ni_syscall, sys_delete_module, sys_ni_syscall, sys_getpgid |
66 | /*225*/ .long sys_bdflush, sys_sysfs, sys_nis_syscall, sys_setfsuid16, sys_setfsgid16 | 66 | /*225*/ .long sys_bdflush, sys_sysfs, sys_nis_syscall, sys_setfsuid16, sys_setfsgid16 |
67 | /*230*/ .long sys_select, sys_time, sys_nis_syscall, sys_stime, sys_statfs64 | 67 | /*230*/ .long sys_select, sys_time, sys_nis_syscall, sys_stime, sys_statfs64 |
diff --git a/arch/sparc64/kernel/sys32.S b/arch/sparc64/kernel/sys32.S index 5a95e98c5317..5f9e4fae612e 100644 --- a/arch/sparc64/kernel/sys32.S +++ b/arch/sparc64/kernel/sys32.S | |||
@@ -135,6 +135,8 @@ SIGN2(sys32_shutdown, sys_shutdown, %o0, %o1) | |||
135 | SIGN3(sys32_socketpair, sys_socketpair, %o0, %o1, %o2) | 135 | SIGN3(sys32_socketpair, sys_socketpair, %o0, %o1, %o2) |
136 | SIGN1(sys32_getpeername, sys_getpeername, %o0) | 136 | SIGN1(sys32_getpeername, sys_getpeername, %o0) |
137 | SIGN1(sys32_getsockname, sys_getsockname, %o0) | 137 | SIGN1(sys32_getsockname, sys_getsockname, %o0) |
138 | SIGN2(sys32_ioprio_get, sys_ioprio_get, %o0, %o1) | ||
139 | SIGN3(sys32_ioprio_set, sys_ioprio_set, %o0, %o1, %o2) | ||
138 | 140 | ||
139 | .globl sys32_mmap2 | 141 | .globl sys32_mmap2 |
140 | sys32_mmap2: | 142 | sys32_mmap2: |
diff --git a/arch/sparc64/kernel/systbls.S b/arch/sparc64/kernel/systbls.S index a5e36a4c8924..bceb91a8a2bd 100644 --- a/arch/sparc64/kernel/systbls.S +++ b/arch/sparc64/kernel/systbls.S | |||
@@ -59,11 +59,11 @@ sys_call_table32: | |||
59 | /*180*/ .word sys32_flistxattr, sys_removexattr, sys_lremovexattr, compat_sys_sigpending, sys_ni_syscall | 59 | /*180*/ .word sys32_flistxattr, sys_removexattr, sys_lremovexattr, compat_sys_sigpending, sys_ni_syscall |
60 | .word sys32_setpgid, sys32_fremovexattr, sys32_tkill, sys32_exit_group, sparc64_newuname | 60 | .word sys32_setpgid, sys32_fremovexattr, sys32_tkill, sys32_exit_group, sparc64_newuname |
61 | /*190*/ .word sys32_init_module, sparc64_personality, sys_remap_file_pages, sys32_epoll_create, sys32_epoll_ctl | 61 | /*190*/ .word sys32_init_module, sparc64_personality, sys_remap_file_pages, sys32_epoll_create, sys32_epoll_ctl |
62 | .word sys32_epoll_wait, sys_nis_syscall, sys_getppid, sys32_sigaction, sys_sgetmask | 62 | .word sys32_epoll_wait, sys32_ioprio_set, sys_getppid, sys32_sigaction, sys_sgetmask |
63 | /*200*/ .word sys32_ssetmask, sys_sigsuspend, compat_sys_newlstat, sys_uselib, compat_sys_old_readdir | 63 | /*200*/ .word sys32_ssetmask, sys_sigsuspend, compat_sys_newlstat, sys_uselib, compat_sys_old_readdir |
64 | .word sys32_readahead, sys32_socketcall, sys32_syslog, sys32_lookup_dcookie, sys32_fadvise64 | 64 | .word sys32_readahead, sys32_socketcall, sys32_syslog, sys32_lookup_dcookie, sys32_fadvise64 |
65 | /*210*/ .word sys32_fadvise64_64, sys32_tgkill, sys32_waitpid, sys_swapoff, sys32_sysinfo | 65 | /*210*/ .word sys32_fadvise64_64, sys32_tgkill, sys32_waitpid, sys_swapoff, sys32_sysinfo |
66 | .word sys32_ipc, sys32_sigreturn, sys_clone, sys_nis_syscall, sys32_adjtimex | 66 | .word sys32_ipc, sys32_sigreturn, sys_clone, sys32_ioprio_get, sys32_adjtimex |
67 | /*220*/ .word sys32_sigprocmask, sys_ni_syscall, sys32_delete_module, sys_ni_syscall, sys32_getpgid | 67 | /*220*/ .word sys32_sigprocmask, sys_ni_syscall, sys32_delete_module, sys_ni_syscall, sys32_getpgid |
68 | .word sys32_bdflush, sys32_sysfs, sys_nis_syscall, sys32_setfsuid16, sys32_setfsgid16 | 68 | .word sys32_bdflush, sys32_sysfs, sys_nis_syscall, sys32_setfsuid16, sys32_setfsgid16 |
69 | /*230*/ .word sys32_select, compat_sys_time, sys_nis_syscall, compat_sys_stime, compat_sys_statfs64 | 69 | /*230*/ .word sys32_select, compat_sys_time, sys_nis_syscall, compat_sys_stime, compat_sys_statfs64 |
@@ -125,11 +125,11 @@ sys_call_table: | |||
125 | /*180*/ .word sys_flistxattr, sys_removexattr, sys_lremovexattr, sys_nis_syscall, sys_ni_syscall | 125 | /*180*/ .word sys_flistxattr, sys_removexattr, sys_lremovexattr, sys_nis_syscall, sys_ni_syscall |
126 | .word sys_setpgid, sys_fremovexattr, sys_tkill, sys_exit_group, sparc64_newuname | 126 | .word sys_setpgid, sys_fremovexattr, sys_tkill, sys_exit_group, sparc64_newuname |
127 | /*190*/ .word sys_init_module, sparc64_personality, sys_remap_file_pages, sys_epoll_create, sys_epoll_ctl | 127 | /*190*/ .word sys_init_module, sparc64_personality, sys_remap_file_pages, sys_epoll_create, sys_epoll_ctl |
128 | .word sys_epoll_wait, sys_nis_syscall, sys_getppid, sys_nis_syscall, sys_sgetmask | 128 | .word sys_epoll_wait, sys_ioprio_set, sys_getppid, sys_nis_syscall, sys_sgetmask |
129 | /*200*/ .word sys_ssetmask, sys_nis_syscall, sys_newlstat, sys_uselib, sys_nis_syscall | 129 | /*200*/ .word sys_ssetmask, sys_nis_syscall, sys_newlstat, sys_uselib, sys_nis_syscall |
130 | .word sys_readahead, sys_socketcall, sys_syslog, sys_lookup_dcookie, sys_fadvise64 | 130 | .word sys_readahead, sys_socketcall, sys_syslog, sys_lookup_dcookie, sys_fadvise64 |
131 | /*210*/ .word sys_fadvise64_64, sys_tgkill, sys_waitpid, sys_swapoff, sys_sysinfo | 131 | /*210*/ .word sys_fadvise64_64, sys_tgkill, sys_waitpid, sys_swapoff, sys_sysinfo |
132 | .word sys_ipc, sys_nis_syscall, sys_clone, sys_nis_syscall, sys_adjtimex | 132 | .word sys_ipc, sys_nis_syscall, sys_clone, sys_ioprio_get, sys_adjtimex |
133 | /*220*/ .word sys_nis_syscall, sys_ni_syscall, sys_delete_module, sys_ni_syscall, sys_getpgid | 133 | /*220*/ .word sys_nis_syscall, sys_ni_syscall, sys_delete_module, sys_ni_syscall, sys_getpgid |
134 | .word sys_bdflush, sys_sysfs, sys_nis_syscall, sys_setfsuid, sys_setfsgid | 134 | .word sys_bdflush, sys_sysfs, sys_nis_syscall, sys_setfsuid, sys_setfsgid |
135 | /*230*/ .word sys_select, sys_nis_syscall, sys_nis_syscall, sys_stime, sys_statfs64 | 135 | /*230*/ .word sys_select, sys_nis_syscall, sys_nis_syscall, sys_stime, sys_statfs64 |
diff --git a/include/asm-sparc/unistd.h b/include/asm-sparc/unistd.h index 846708403900..aee17d7e2e44 100644 --- a/include/asm-sparc/unistd.h +++ b/include/asm-sparc/unistd.h | |||
@@ -212,7 +212,7 @@ | |||
212 | #define __NR_epoll_create 193 /* Linux Specific */ | 212 | #define __NR_epoll_create 193 /* Linux Specific */ |
213 | #define __NR_epoll_ctl 194 /* Linux Specific */ | 213 | #define __NR_epoll_ctl 194 /* Linux Specific */ |
214 | #define __NR_epoll_wait 195 /* Linux Specific */ | 214 | #define __NR_epoll_wait 195 /* Linux Specific */ |
215 | /* #define __NR_ulimit 196 Linux Specific */ | 215 | #define __NR_ioprio_set 196 /* Linux Specific */ |
216 | #define __NR_getppid 197 /* Linux Specific */ | 216 | #define __NR_getppid 197 /* Linux Specific */ |
217 | #define __NR_sigaction 198 /* Linux Specific */ | 217 | #define __NR_sigaction 198 /* Linux Specific */ |
218 | #define __NR_sgetmask 199 /* Linux Specific */ | 218 | #define __NR_sgetmask 199 /* Linux Specific */ |
@@ -234,7 +234,7 @@ | |||
234 | #define __NR_ipc 215 /* Linux Specific */ | 234 | #define __NR_ipc 215 /* Linux Specific */ |
235 | #define __NR_sigreturn 216 /* Linux Specific */ | 235 | #define __NR_sigreturn 216 /* Linux Specific */ |
236 | #define __NR_clone 217 /* Linux Specific */ | 236 | #define __NR_clone 217 /* Linux Specific */ |
237 | /* #define __NR_modify_ldt 218 Linux Specific - i386 specific, unused */ | 237 | #define __NR_ioprio_get 218 /* Linux Specific */ |
238 | #define __NR_adjtimex 219 /* Linux Specific */ | 238 | #define __NR_adjtimex 219 /* Linux Specific */ |
239 | #define __NR_sigprocmask 220 /* Linux Specific */ | 239 | #define __NR_sigprocmask 220 /* Linux Specific */ |
240 | #define __NR_create_module 221 /* Linux Specific */ | 240 | #define __NR_create_module 221 /* Linux Specific */ |
diff --git a/include/asm-sparc64/unistd.h b/include/asm-sparc64/unistd.h index 5b8dcf5786a5..f59144c6b76a 100644 --- a/include/asm-sparc64/unistd.h +++ b/include/asm-sparc64/unistd.h | |||
@@ -212,7 +212,7 @@ | |||
212 | #define __NR_epoll_create 193 /* Linux Specific */ | 212 | #define __NR_epoll_create 193 /* Linux Specific */ |
213 | #define __NR_epoll_ctl 194 /* Linux Specific */ | 213 | #define __NR_epoll_ctl 194 /* Linux Specific */ |
214 | #define __NR_epoll_wait 195 /* Linux Specific */ | 214 | #define __NR_epoll_wait 195 /* Linux Specific */ |
215 | /* #define __NR_ulimit 196 Linux Specific */ | 215 | #define __NR_ioprio_set 196 /* Linux Specific */ |
216 | #define __NR_getppid 197 /* Linux Specific */ | 216 | #define __NR_getppid 197 /* Linux Specific */ |
217 | #define __NR_sigaction 198 /* Linux Specific */ | 217 | #define __NR_sigaction 198 /* Linux Specific */ |
218 | #define __NR_sgetmask 199 /* Linux Specific */ | 218 | #define __NR_sgetmask 199 /* Linux Specific */ |
@@ -234,7 +234,7 @@ | |||
234 | #define __NR_ipc 215 /* Linux Specific */ | 234 | #define __NR_ipc 215 /* Linux Specific */ |
235 | #define __NR_sigreturn 216 /* Linux Specific */ | 235 | #define __NR_sigreturn 216 /* Linux Specific */ |
236 | #define __NR_clone 217 /* Linux Specific */ | 236 | #define __NR_clone 217 /* Linux Specific */ |
237 | /* #define __NR_modify_ldt 218 Linux Specific - i386 specific, unused */ | 237 | #define __NR_ioprio_get 218 /* Linux Specific */ |
238 | #define __NR_adjtimex 219 /* Linux Specific */ | 238 | #define __NR_adjtimex 219 /* Linux Specific */ |
239 | #define __NR_sigprocmask 220 /* Linux Specific */ | 239 | #define __NR_sigprocmask 220 /* Linux Specific */ |
240 | #define __NR_create_module 221 /* Linux Specific */ | 240 | #define __NR_create_module 221 /* Linux Specific */ |