diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2009-04-28 10:42:39 -0400 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2009-04-28 11:53:35 -0400 |
commit | 6d3d4be40357e3ea43b5c8837dec01d8f6cd1c67 (patch) | |
tree | cfbf63f2b5a267b0994d211e5220bff0d494886a /arch/cris/arch-v10 | |
parent | d7bd15f67ebaaebc842a971e600c364a73b81b22 (diff) |
CRIS: Wire up syscalls signalfd4 to writev.
Adds sys_signalfd4, sys_eventfd2, sys_epoll_create1, sys_dup3,
sys_pipe2, sys_inotify_init1, sys_preadv, sys_pwritev
for both CRISv10 and CRISv32.
Diffstat (limited to 'arch/cris/arch-v10')
-rw-r--r-- | arch/cris/arch-v10/kernel/entry.S | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/cris/arch-v10/kernel/entry.S b/arch/cris/arch-v10/kernel/entry.S index 72f5cd319b97..2c18d08cd913 100644 --- a/arch/cris/arch-v10/kernel/entry.S +++ b/arch/cris/arch-v10/kernel/entry.S | |||
@@ -536,10 +536,10 @@ multiple_interrupt: | |||
536 | movem $r13, [$sp] | 536 | movem $r13, [$sp] |
537 | push $r10 ; push orig_r10 | 537 | push $r10 ; push orig_r10 |
538 | clear.d [$sp=$sp-4] ; frametype == 0, normal frame | 538 | clear.d [$sp=$sp-4] ; frametype == 0, normal frame |
539 | 539 | ||
540 | move.d $sp, $r10 | 540 | move.d $sp, $r10 |
541 | jsr do_multiple_IRQ | 541 | jsr do_multiple_IRQ |
542 | 542 | ||
543 | jump ret_from_intr | 543 | jump ret_from_intr |
544 | 544 | ||
545 | do_sigtrap: | 545 | do_sigtrap: |
@@ -585,7 +585,7 @@ _ugdb_handle_breakpoint: | |||
585 | pop $r0 ; Restore r0. | 585 | pop $r0 ; Restore r0. |
586 | ba do_sigtrap ; SIGTRAP the offending process. | 586 | ba do_sigtrap ; SIGTRAP the offending process. |
587 | pop $dccr ; Restore dccr in delay slot. | 587 | pop $dccr ; Restore dccr in delay slot. |
588 | 588 | ||
589 | .global kernel_execve | 589 | .global kernel_execve |
590 | kernel_execve: | 590 | kernel_execve: |
591 | move.d __NR_execve, $r9 | 591 | move.d __NR_execve, $r9 |
@@ -929,6 +929,14 @@ sys_call_table: | |||
929 | .long sys_fallocate | 929 | .long sys_fallocate |
930 | .long sys_timerfd_settime /* 325 */ | 930 | .long sys_timerfd_settime /* 325 */ |
931 | .long sys_timerfd_gettime | 931 | .long sys_timerfd_gettime |
932 | .long sys_signalfd4 | ||
933 | .long sys_eventfd2 | ||
934 | .long sys_epoll_create1 | ||
935 | .long sys_dup3 /* 330 */ | ||
936 | .long sys_pipe2 | ||
937 | .long sys_inotify_init1 | ||
938 | .long sys_preadv | ||
939 | .long sys_pwritev | ||
932 | 940 | ||
933 | /* | 941 | /* |
934 | * NOTE!! This doesn't have to be exact - we just have | 942 | * NOTE!! This doesn't have to be exact - we just have |