docs/63215: Wrong prototypes in mi_switch(9) (ref docs/24311)

Bruce Cran bruce at cran.org.uk
Sun Feb 22 13:10:13 UTC 2004


>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 at 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:



More information about the freebsd-doc mailing list