xref: /minix3/lib/libc/compat/arch/powerpc/sys/compat_sigsuspend13.S (revision 2fe8fb192fe7e8720e3e7a77f928da545e872a6a)
1*2fe8fb19SBen Gras/*	$NetBSD: compat_sigsuspend13.S,v 1.2 2011/01/15 07:31:13 matt Exp $	*/
2*2fe8fb19SBen Gras
3*2fe8fb19SBen Gras#include "SYS.h"
4*2fe8fb19SBen Gras
5*2fe8fb19SBen Gras#if defined(LIBC_SCCS)
6*2fe8fb19SBen Gras__RCSID("$NetBSD: compat_sigsuspend13.S,v 1.2 2011/01/15 07:31:13 matt Exp $")
7*2fe8fb19SBen Gras#endif
8*2fe8fb19SBen Gras
9*2fe8fb19SBen GrasWARN_REFERENCES(sigsuspend, \
10*2fe8fb19SBen Gras    "warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
11*2fe8fb19SBen Gras
12*2fe8fb19SBen GrasENTRY(sigsuspend)
13*2fe8fb19SBen Gras	lwz	%r3,0(%r3)			# indirect to mask arg
14*2fe8fb19SBen Gras	_DOSYSCALL(compat_13_sigsuspend13)
15*2fe8fb19SBen Gras	b	_C_LABEL(__cerror)		# always terminates with EINTR
16*2fe8fb19SBen GrasEND(sigsuspend)
17