diff options
author | Jesper Nilsson <jespern@axis.com> | 2014-01-09 05:16:37 -0500 |
---|---|---|
committer | Jesper Nilsson <jespern@axis.com> | 2014-01-09 06:48:17 -0500 |
commit | bb1d2a945344e2a5100f5c7f8bb6e3e4ae03a2ab (patch) | |
tree | 682bb1a60bb752a7101e25bbd694380b9c0c3e11 /arch/cris/arch-v32 | |
parent | 329fddd7b60cf6aed53cdb6fdc8e64117b8e8bc6 (diff) |
CRIS: Add missing syscalls
Complete list of syscalls for CRISv10 and CRISv32.
Clean up some whitespace at the same time.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/arch-v32')
-rw-r--r-- | arch/cris/arch-v32/kernel/entry.S | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/arch/cris/arch-v32/kernel/entry.S b/arch/cris/arch-v32/kernel/entry.S index faa644111feb..2f19ac6217aa 100644 --- a/arch/cris/arch-v32/kernel/entry.S +++ b/arch/cris/arch-v32/kernel/entry.S | |||
@@ -424,7 +424,7 @@ nmi_interrupt: | |||
424 | bpl 1f | 424 | bpl 1f |
425 | nop | 425 | nop |
426 | jsr handle_watchdog_bite ; In time.c. | 426 | jsr handle_watchdog_bite ; In time.c. |
427 | move.d $sp, $r10 ; Pointer to registers | 427 | move.d $sp, $r10 ; Pointer to registers |
428 | 1: btstq REG_BIT(intr_vect, r_nmi, ext), $r0 | 428 | 1: btstq REG_BIT(intr_vect, r_nmi, ext), $r0 |
429 | bpl 1f | 429 | bpl 1f |
430 | nop | 430 | nop |
@@ -452,7 +452,7 @@ spurious_interrupt: | |||
452 | nop | 452 | nop |
453 | 453 | ||
454 | ;; This handles the case when multiple interrupts arrive at the same | 454 | ;; This handles the case when multiple interrupts arrive at the same |
455 | ;; time. Jump to the first set interrupt bit in a priotiry fashion. The | 455 | ;; time. Jump to the first set interrupt bit in a priority fashion. The |
456 | ;; hardware will call the unserved interrupts after the handler | 456 | ;; hardware will call the unserved interrupts after the handler |
457 | ;; finishes. | 457 | ;; finishes. |
458 | .type multiple_interrupt, @function | 458 | .type multiple_interrupt, @function |
@@ -885,13 +885,29 @@ sys_call_table: | |||
885 | .long sys_preadv | 885 | .long sys_preadv |
886 | .long sys_pwritev | 886 | .long sys_pwritev |
887 | .long sys_setns /* 335 */ | 887 | .long sys_setns /* 335 */ |
888 | 888 | .long sys_name_to_handle_at | |
889 | /* | 889 | .long sys_open_by_handle_at |
890 | * NOTE!! This doesn't have to be exact - we just have | 890 | .long sys_rt_tgsigqueueinfo |
891 | * to make sure we have _enough_ of the "sys_ni_syscall" | 891 | .long sys_perf_event_open |
892 | * entries. Don't panic if you notice that this hasn't | 892 | .long sys_recvmmsg /* 340 */ |
893 | * been shrunk every time we add a new system call. | 893 | .long sys_accept4 |
894 | */ | 894 | .long sys_fanotify_init |
895 | .long sys_fanotify_mark | ||
896 | .long sys_prlimit64 | ||
897 | .long sys_clock_adjtime /* 345 */ | ||
898 | .long sys_syncfs | ||
899 | .long sys_sendmmsg | ||
900 | .long sys_process_vm_readv | ||
901 | .long sys_process_vm_writev | ||
902 | .long sys_kcmp /* 350 */ | ||
903 | .long sys_finit_module | ||
904 | |||
905 | /* | ||
906 | * NOTE!! This doesn't have to be exact - we just have | ||
907 | * to make sure we have _enough_ of the "sys_ni_syscall" | ||
908 | * entries. Don't panic if you notice that this hasn't | ||
909 | * been shrunk every time we add a new system call. | ||
910 | */ | ||
895 | 911 | ||
896 | .rept NR_syscalls - (.-sys_call_table) / 4 | 912 | .rept NR_syscalls - (.-sys_call_table) / 4 |
897 | .long sys_ni_syscall | 913 | .long sys_ni_syscall |