NetBSD Problem Report #2399

From gnats  Sun May 12 13:09:52 1996
Received: from axl01it.ntc.nokia.com by pain.lcs.mit.edu (8.7.4/8.6.12) with SMTP id MAA09236 for <gnats-bugs@gnats.netbsd.org>; Sun, 12 May 1996 12:57:14 -0400 (EDT)
Message-Id: <199605121656.TAA02715@pilvi.fi>
Date: Sun, 12 May 1996 19:56:30 +0300
From: jkokko@pilvi.fi
Reply-To: jkokko@cc.hut.fi
To: gnats-bugs@gnats.netbsd.org
Subject: cpu_set_kpc() second argument type inconsistent
X-Send-Pr-Version: 3.95

>Number:         2399
>Category:       port-sun3
>Synopsis:       cpu_set_kpc() second argument type inconsistent
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 12 13:20:06 +0000 1996
>Closed-Date:    Mon May 13 15:06:00 +0000 1996
>Last-Modified:  Mon May 13 15:06:24 +0000 1996
>Originator:     Jari Kokko
>Release:        Kernel sup of 1996/05/10
>Organization:
	Veijoilu kannattaa aina
>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.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gwr 
State-Changed-When: Mon May 13 11:06:00 EDT 1996 
State-Changed-Why:  
This was fixed a while ago.  Jari's code was out of date. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.