diff options
Diffstat (limited to 'lib/libc/arch/m68k/sys/sigprocmask.S')
-rw-r--r-- | lib/libc/arch/m68k/sys/sigprocmask.S | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/arch/m68k/sys/sigprocmask.S b/lib/libc/arch/m68k/sys/sigprocmask.S index 848dc003991..2a40aba059c 100644 --- a/lib/libc/arch/m68k/sys/sigprocmask.S +++ b/lib/libc/arch/m68k/sys/sigprocmask.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigprocmask.S,v 1.6 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: sigprocmask.S,v 1.7 2013/02/02 13:29:14 miod Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -35,24 +35,24 @@ #include "SYS.h" SYSENTRY(sigprocmask) - tstl sp@(8) /* check new sigset pointer */ + tstl %sp@(8) /* check new sigset pointer */ jne gotptr /* if not null, indirect */ -/* movl #0,sp@(8) /* null mask pointer: block empty set */ - movl #1,sp@(4) /* SIG_BLOCK */ +/* movl #0,%sp@(8) */ /* null mask pointer: block empty set */ + movl #1,%sp@(4) /* SIG_BLOCK */ jra doit gotptr: - movl sp@(8),a0 - movl a0@,sp@(8) /* indirect to new mask arg */ + movl %sp@(8),%a0 + movl %a0@,%sp@(8) /* indirect to new mask arg */ doit: - movl #SYS_sigprocmask,d0 + movl #SYS_sigprocmask,%d0 trap #0 jcs err - tstl sp@(12) /* test if old mask requested */ + tstl %sp@(12) /* test if old mask requested */ jeq out - movl sp@(12),a0 - movl d0,a0@ /* store old mask */ + movl %sp@(12),%a0 + movl %d0,%a0@ /* store old mask */ out: - clrl d0 + clrl %d0 rts err: - jra __cerror + jra PIC_PLT(__cerror) |