summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/ia32/os/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/ia32/os/syscall.c')
-rw-r--r--usr/src/uts/intel/ia32/os/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/intel/ia32/os/syscall.c b/usr/src/uts/intel/ia32/os/syscall.c
index a78fbc62a6..f40ab4a175 100644
--- a/usr/src/uts/intel/ia32/os/syscall.c
+++ b/usr/src/uts/intel/ia32/os/syscall.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -761,7 +761,7 @@ sig_check:
CL_TRAPRET(t);
thread_unlock(t);
}
- if (CPU->cpu_runrun)
+ if (CPU->cpu_runrun || t->t_schedflag & TS_ANYWAITQ)
preempt();
lwp->lwp_errno = 0; /* clear error for next time */