From bruce@cran.org.uk  Sun Feb 22 05:04:40 2004
Return-Path: <bruce@cran.org.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C8A6A16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Feb 2004 05:04:40 -0800 (PST)
Received: from mta1-svc.business.ntl.com (mta1-svc.business.ntl.com [62.253.164.41])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5891B43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Feb 2004 05:04:40 -0800 (PST)
	(envelope-from bruce@cran.org.uk)
Received: from box1.cran ([82.2.140.60]) by mta1-svc.business.ntl.com
          (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
          id <20040222130430.ODP23028.mta1-svc.business.ntl.com@box1.cran>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 22 Feb 2004 13:04:30 +0000
Received: from box1.cran (localhost.cran [127.0.0.1])
	by box1.cran (8.12.11/8.12.10) with ESMTP id i1MD3ugb000793
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Feb 2004 13:03:56 GMT
	(envelope-from brucec@box1.cran)
Received: (from brucec@localhost)
	by box1.cran (8.12.11/8.12.10/Submit) id i1MD3teA000792;
	Sun, 22 Feb 2004 13:03:55 GMT
	(envelope-from brucec)
Message-Id: <200402221303.i1MD3teA000792@box1.cran>
Date: Sun, 22 Feb 2004 13:03:55 GMT
From: Bruce Cran <bruce@cran.org.uk>
Reply-To: Bruce Cran <bruce@cran.org.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Wrong prototypes in mi_switch(9) (ref docs/24311) 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63215
>Category:       docs
>Synopsis:       Wrong prototypes in mi_switch(9) (ref docs/24311)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jeff
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 22 05:10:12 PST 2004
>Closed-Date:    Wed Sep 01 08:48:19 UTC 2010
>Last-Modified:  Wed Sep 01 08:48:19 UTC 2010
>Originator:     Bruce Cran
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD box1.cran 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Feb 20 21:31:18 GMT 2004 brucec@box1.cran:/usr/obj/usr/src/sys/MYKERNEL i386

FreeBSD 5.2-CURRENT i386
	
>Description:
The function prototypes in mi_switch(9) for cpu_switch and mi_switch
are wrong.   The man page says they shouldn't take any arguments, but
now mi_switch takes 'int flags' where 'flags' is one of SW_VOL or
SW_INVOL.   cpu_switch now takes 'struct thread *old, struct thread *new'
arguments.   
	
>How-To-Repeat:
man mi_switch
	
>Fix:
man page needs re-structured to explain mi_switch flags and cpu_switch
parameters.
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->jeff 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Sat Jan 26 10:35:57 UTC 2008 
Responsible-Changed-Why:  
Jeff added the new flags to mi_switch(), pass this over to him. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63215 
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Wed Sep 1 08:47:47 UTC 2010 
State-Changed-Why:  
Obsoleted by docs/149574. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63215 
>Unformatted:
