summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/sparc/os/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/sparc/os/syscall.c b/usr/src/uts/sparc/os/syscall.c
index 5c90135458..380de9212b 100644
--- a/usr/src/uts/sparc/os/syscall.c
+++ b/usr/src/uts/sparc/os/syscall.c
@@ -718,8 +718,6 @@ post_syscall(long rval1, long rval2)
repost = 1;
}
- t->t_sysnum = 0; /* no longer in a system call */
-
sig_check:
/*
* Reset flag for next time.
@@ -848,6 +846,8 @@ sig_check:
repost = 1;
}
+ t->t_sysnum = 0; /* no longer in a system call */
+
/*
* In case the args were copied to the lwp, reset the
* pointer so the next syscall will have the right lwp_ap pointer.