summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-03-12 22:14:14 +0000
committerjeff <jeff@FreeBSD.org>2008-03-12 22:14:14 +0000
commitbf86f0992a55cab02ec46d19c5ad4ef4d7011ef9 (patch)
treeabd4d22dae6509995b5d4f38c9ab9eab524eb1a3 /sys/ia64
parent4aef4283ee40fa60ed50fb989bab0c8cef7c0388 (diff)
downloadFreeBSD-src-bf86f0992a55cab02ec46d19c5ad4ef4d7011ef9.zip
FreeBSD-src-bf86f0992a55cab02ec46d19c5ad4ef4d7011ef9.tar.gz
- Fix build breakage; there was a reference to a removed syscall in
a KASSERT(). Attempt to cleanup the comment to reflect reality.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/machdep.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index fe50d45..a5ac5ce 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -1203,15 +1203,14 @@ set_mcontext(struct thread *td, const mcontext_t *mc)
/*
* We can get an async context passed to us while we
* entered the kernel through a syscall: sigreturn(2)
- * and kse_switchin(2) both take contexts that could
- * previously be the result of a trap or interrupt.
+ * takes contexts that could previously be the result of
+ * a trap or interrupt.
* Hence, we cannot assert that the trapframe is not
* a syscall frame, but we can assert that it's at
* least an expected syscall.
*/
if (tf->tf_flags & FRAME_SYSCALL) {
- KASSERT(tf->tf_scratch.gr15 == SYS_sigreturn ||
- tf->tf_scratch.gr15 == SYS_kse_switchin, ("foo"));
+ KASSERT(tf->tf_scratch.gr15 == SYS_sigreturn, ("foo"));
tf->tf_flags &= ~FRAME_SYSCALL;
}
tf->tf_scratch = mc->mc_scratch;
OpenPOWER on IntegriCloud