]> git.baikalelectronics.ru Git - kernel.git/commitdiff
microblaze: Remove rt_sigsuspend wrapper
authorMichal Simek <monstr@monstr.eu>
Fri, 11 Dec 2009 11:54:04 +0000 (12:54 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:45:12 +0000 (08:45 +0100)
Generic rt_sigsuspend syscalls doesn't need any asm wrapper.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry.S
arch/microblaze/kernel/signal.c
arch/microblaze/kernel/syscall_table.S

index b061d98a3218f2ea7daf979c67dd26cee14dc055..3bad4ff494711c205b3536a686e4aa36d9913b94 100644 (file)
@@ -500,17 +500,6 @@ C_ENTRY(sys_execve):
        brid    microblaze_execve;      /* Do real work (tail-call).*/
        nop;
 
-C_ENTRY(sys_rt_sigsuspend_wrapper):
-       swi     r3, r1, PTO+PT_R3; /* restore saved r3, r4 registers */
-       swi     r4, r1, PTO+PT_R4;
-       la      r7, r1, PTO;            /* add user context as 3rd arg */
-       brlid   r15, sys_rt_sigsuspend; /* Do real work.*/
-       nop;
-       lwi     r3, r1, PTO+PT_R3; /* restore saved r3, r4 registers */
-       lwi     r4, r1, PTO+PT_R4;
-       bri ret_from_trap /* fall through will not work here due to align */
-       nop;
-
 C_ENTRY(sys_rt_sigreturn_wrapper):
        swi     r3, r1, PTO+PT_R3; /* restore saved r3, r4 registers */
        swi     r4, r1, PTO+PT_R4;
index 6de3db04b1a49f2b1ced440f4221749ed26f2553..d8d3bb396cd6d7e4b0d82d52fa62960222662ab3 100644 (file)
@@ -44,7 +44,6 @@
 
 asmlinkage int do_signal(struct pt_regs *regs, sigset_t *oldset, int in_sycall);
 
-
 asmlinkage long
 sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,
                struct pt_regs *regs)
index 4e666d9c1261a47657820ff71f3e144f69955079..4088be7d4e292ed307cdf4539df4f2b5adfc06be 100644 (file)
@@ -183,7 +183,7 @@ ENTRY(sys_call_table)
        .long sys_rt_sigpending
        .long sys_rt_sigtimedwait
        .long sys_rt_sigqueueinfo
-       .long sys_rt_sigsuspend_wrapper
+       .long sys_rt_sigsuspend
        .long sys_pread64               /* 180 */
        .long sys_pwrite64
        .long sys_chown