From owner-p4-projects Thu May 30 23: 7:21 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F27E537B40A; Thu, 30 May 2002 23:07:16 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2944F37B409 for ; Thu, 30 May 2002 23:07:16 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4V67FD30601 for perforce@freebsd.org; Thu, 30 May 2002 23:07:15 -0700 (PDT) (envelope-from julian@freebsd.org) Date: Thu, 30 May 2002 23:07:15 -0700 (PDT) Message-Id: <200205310607.g4V67FD30601@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer Subject: PERFORCE change 12182 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12182 Change 12182 by julian@julian_ref on 2002/05/30 23:06:44 use suword instead of copyout() in another place. Affected files ... ... //depot/projects/kse/sys/kern/subr_trap.c#58 edit Differences ... ==== //depot/projects/kse/sys/kern/subr_trap.c#58 (text+ko) ==== @@ -226,10 +226,8 @@ * We might as well do it here. */ td->td_flags &= ~TDF_UPCALLING; /* Hmmmm. */ - error = copyout(&dummy, /* NULL */ - (caddr_t)td->td_kse->ke_mailbox + - offsetof(struct kse_mailbox, current_thread), - sizeof(void *)); + error = suword((caddr_t)td->td_kse->ke_mailbox + + offsetof(struct kse_mailbox, current_thread), 0); } /* * Stop any chance that we may be separated from To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message