From owner-freebsd-doc@FreeBSD.ORG Sun Feb 22 05:10:13 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 014F916A4CF for ; Sun, 22 Feb 2004 05:10:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D53EE43D2F for ; Sun, 22 Feb 2004 05:10:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1MDACbv050851 for ; Sun, 22 Feb 2004 05:10:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1MDAC5W050850; Sun, 22 Feb 2004 05:10:12 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 22 Feb 2004 05:10:12 -0800 (PST) Resent-Message-Id: <200402221310.i1MDAC5W050850@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce Cran Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8A6A16A4CE for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/63215: Wrong prototypes in mi_switch(9) (ref docs/24311) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce Cran List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 13:10:13 -0000 >Number: 63215 >Category: docs >Synopsis: Wrong prototypes in mi_switch(9) (ref docs/24311) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 22 05:10:12 PST 2004 >Closed-Date: >Last-Modified: >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: >Unformatted: