Subject: port-sun3/2399: cpu_set_kpc() second argument type inconsistent
To: None <gnats-bugs@NetBSD.ORG>
From: None <jkokko@pilvi.fi>
List: netbsd-bugs
Date: 05/12/1996 19:56:30
>Number:         2399
>Category:       port-sun3
>Synopsis:       cpu_set_kpc() second argument type inconsistent
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 12 13:20:06 1996
>Last-Modified:
>Originator:     Jari Kokko
>Organization:
	Veijoilu kannattaa aina
>Release:        Kernel sup of 1996/05/10
>Environment:

System: NetBSD pilvi 1.1B NetBSD 1.1B (PILVI) #4: Sat May 11 19:21:28 EET DST 1996 root@pilvi:/usr/src/sys/arch/sun3/compile/PILVI sun3


>Description:
	cpu_set_kpc is defined inconsistently in file
	/src/sys/arch/sun3/sun3/vm_machdep.c versus the
	/src/sys/sys/systm.h declaration in /src/sys/sys/systm.h: the
	second argument is defined as u_long and declared as struct
	proc *
>How-To-Repeat:
	sup the kernel source for sun3 and try to build
>Fix:
	Change the definition of cpu_set_kpc in
	/src/sys/arch/sun3/sun3/vm_machdep.c to match declaration in
	src/sys/sys/systm.h; must also add a cast or two to reflect
	the change elsewhere in the file.
>Audit-Trail:
>Unformatted: