diff options
author | Bryan Wu <bryan.wu@analog.com> | 2007-09-22 12:51:32 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-09-22 12:51:32 -0400 |
commit | 0b95f22bd3b91c7114c6892bbfbb5a8576b27fbe (patch) | |
tree | 5dc95ea0414ba04b98ced99b7430fa4b2210a696 /arch | |
parent | 576bb9ced2d274446639d7fbeee7125e24daf012 (diff) |
Blackfin arch: add some missing syscall
When compiling the Blackfin kernel, checksyscalls.pl will report lots of missing syscalls warnings.
This patch will add some missing syscalls which make sense on Blackfin arch
After appling this patch, toolchain should be rebuilt. Then recompiling the kernel with the new
toolchain.
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/mach-common/entry.S | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index d61bba98fb54..960458808344 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
@@ -815,7 +815,7 @@ _extable: | |||
815 | 815 | ||
816 | ALIGN | 816 | ALIGN |
817 | ENTRY(_sys_call_table) | 817 | ENTRY(_sys_call_table) |
818 | .long _sys_ni_syscall /* 0 - old "setup()" system call*/ | 818 | .long _sys_restart_syscall /* 0 */ |
819 | .long _sys_exit | 819 | .long _sys_exit |
820 | .long _sys_fork | 820 | .long _sys_fork |
821 | .long _sys_read | 821 | .long _sys_read |
@@ -978,13 +978,13 @@ ENTRY(_sys_call_table) | |||
978 | .long _sys_sched_get_priority_min /* 160 */ | 978 | .long _sys_sched_get_priority_min /* 160 */ |
979 | .long _sys_sched_rr_get_interval | 979 | .long _sys_sched_rr_get_interval |
980 | .long _sys_nanosleep | 980 | .long _sys_nanosleep |
981 | .long _sys_ni_syscall /* sys_mremap */ | 981 | .long _sys_mremap |
982 | .long _sys_setresuid /* setresuid16 */ | 982 | .long _sys_setresuid /* setresuid16 */ |
983 | .long _sys_getresuid /* getresuid16 */ /* 165 */ | 983 | .long _sys_getresuid /* getresuid16 */ /* 165 */ |
984 | .long _sys_ni_syscall /* for vm86 */ | 984 | .long _sys_ni_syscall /* for vm86 */ |
985 | .long _sys_ni_syscall /* old "query_module" */ | 985 | .long _sys_ni_syscall /* old "query_module" */ |
986 | .long _sys_ni_syscall /* sys_poll */ | 986 | .long _sys_ni_syscall /* sys_poll */ |
987 | .long _sys_ni_syscall /* sys_nfsservctl */ | 987 | .long _sys_nfsservctl |
988 | .long _sys_setresgid /* setresgid16 */ /* 170 */ | 988 | .long _sys_setresgid /* setresgid16 */ /* 170 */ |
989 | .long _sys_getresgid /* getresgid16 */ | 989 | .long _sys_getresgid /* getresgid16 */ |
990 | .long _sys_prctl | 990 | .long _sys_prctl |
@@ -1040,7 +1040,7 @@ ENTRY(_sys_call_table) | |||
1040 | .long _sys_ni_syscall /* reserved for TUX */ | 1040 | .long _sys_ni_syscall /* reserved for TUX */ |
1041 | .long _sys_ni_syscall | 1041 | .long _sys_ni_syscall |
1042 | .long _sys_gettid | 1042 | .long _sys_gettid |
1043 | .long _sys_ni_syscall /* 225 */ /* sys_readahead */ | 1043 | .long _sys_readahead /* 225 */ |
1044 | .long _sys_setxattr | 1044 | .long _sys_setxattr |
1045 | .long _sys_lsetxattr | 1045 | .long _sys_lsetxattr |
1046 | .long _sys_fsetxattr | 1046 | .long _sys_fsetxattr |
@@ -1157,6 +1157,21 @@ ENTRY(_sys_call_table) | |||
1157 | .long _sys_shmctl | 1157 | .long _sys_shmctl |
1158 | .long _sys_shmdt /* 340 */ | 1158 | .long _sys_shmdt /* 340 */ |
1159 | .long _sys_shmget | 1159 | .long _sys_shmget |
1160 | .long _sys_splice | ||
1161 | .long _sys_sync_file_range | ||
1162 | .long _sys_tee | ||
1163 | .long _sys_vmsplice /* 345 */ | ||
1164 | .long _sys_epoll_pwait | ||
1165 | .long _sys_utimensat | ||
1166 | .long _sys_signalfd | ||
1167 | .long _sys_timerfd | ||
1168 | .long _sys_eventfd /* 350 */ | ||
1169 | .long _sys_pread64 | ||
1170 | .long _sys_pwrite64 | ||
1171 | .long _sys_fadvise64 | ||
1172 | .long _sys_set_robust_list | ||
1173 | .long _sys_get_robust_list /* 355 */ | ||
1174 | .long _sys_fallocate | ||
1160 | .rept NR_syscalls-(.-_sys_call_table)/4 | 1175 | .rept NR_syscalls-(.-_sys_call_table)/4 |
1161 | .long _sys_ni_syscall | 1176 | .long _sys_ni_syscall |
1162 | .endr | 1177 | .endr |