Kaynağa Gözat

ARC: sigaction: inline syscall trap

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Vineet Gupta 9 yıl önce
ebeveyn
işleme
f74294bd67
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      libc/sysdeps/linux/arc/sigaction.c

+ 2 - 1
libc/sysdeps/linux/arc/sigaction.c

@@ -41,7 +41,8 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
 		act = &kact;
 	}
 
-	return __syscall_rt_sigaction(sig, act, oact, sizeof(act->sa_mask));
+	return INLINE_SYSCALL(rt_sigaction, 4,
+			sig, act, oact, sizeof(act->sa_mask));
 }
 
 #ifndef LIBC_SIGACTION