From owner-cvs-all@FreeBSD.ORG Sat Dec 13 18:02:45 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E0E816A538; Sat, 13 Dec 2003 18:02:45 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1564943DBC; Sat, 13 Dec 2003 17:59:36 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hBE1xWXJ091346; Sat, 13 Dec 2003 17:59:32 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hBE1xWZr091345; Sat, 13 Dec 2003 17:59:32 -0800 (PST) (envelope-from marcel) Message-Id: <200312140159.hBE1xWZr091345@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 13 Dec 2003 17:59:31 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/ia64 machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2003 02:02:46 -0000 marcel 2003/12/13 17:59:31 PST FreeBSD src repository Modified files: sys/ia64/ia64 machdep.c Log: In set_mcontext(), take into account that kse_switchin(2) will eventually be passed an async. context as well as a syscall context. While here, fix a serious bug in that if the trapframe is a syscall frame, but we're restoring an async context, we need to clear the FRAME_SYSCALL flag so that we leave the kernel via exception_restore. Revision Changes Path 1.174 +10 -5 src/sys/ia64/ia64/machdep.c