NetBSD Problem Report #39714

From www@NetBSD.org  Wed Oct  8 08:44:03 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id DE1F363BA54
	for <gnats-bugs@gnats.netbsd.org>; Wed,  8 Oct 2008 08:44:03 +0000 (UTC)
Message-Id: <20081008084403.ACC6163B88A@narn.NetBSD.org>
Date: Wed,  8 Oct 2008 08:44:03 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Prototype dumpconf in header sys/arch/x86/include/cpu.h
X-Send-Pr-Version: www-1.0

>Number:         39714
>Category:       kern
>Synopsis:       Prototype dumpconf in header sys/arch/x86/include/cpu.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 08 08:45:00 +0000 2008
>Closed-Date:    Fri Jun 16 18:19:26 +0000 2017
>Last-Modified:  Fri Jun 16 18:20:00 +0000 2017
>Originator:     Henning Petersen
>Release:        Netbsd-current
>Organization:
>Environment:
>Description:
Function dumpconf in port-i386 and port-amd64 is now cpu_dumpconf.
>How-To-Repeat:

>Fix:
--- sys/arch/x86/include/cpu.h	30 May 2008 11:03:29 -0000	1.7
+++ sys/arch/x86/include/cpu.h	8 Oct 2008 08:06:56 -0000
@@ -318,13 +318,14 @@
 #define	cpu_idle() (*x86_cpu_idle)()

 /* machdep.c */
-void	dumpconf(void);
+#ifdef i386
 void	cpu_reset(void);
 void	i386_proc0_tss_ldt_init(void);
-void	dumpconf(void);
+#else
 void	cpu_reset(void);
 void	x86_64_proc0_tss_ldt_init(void);
 void	x86_64_init_pcb_tss_ldt(struct cpu_info *);
+#endif

 /* longrun.c */
 u_int 	tmx86_get_longrun_mode(void);

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Fri, 16 Jun 2017 18:19:26 +0000
State-Changed-Why:
Prototype removed, thank you.


From: "Jaromir Dolecek" <jdolecek@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39714 CVS commit: src/sys/arch
Date: Fri, 16 Jun 2017 18:17:42 +0000

 Module Name:	src
 Committed By:	jdolecek
 Date:		Fri Jun 16 18:17:42 UTC 2017

 Modified Files:
 	src/sys/arch/acorn32/acorn32: autoconf.c
 	src/sys/arch/alpha/include: alpha.h
 	src/sys/arch/hpcarm/hpcarm: autoconf.c
 	src/sys/arch/hppa/include: autoconf.h
 	src/sys/arch/luna68k/include: cpu.h
 	src/sys/arch/mac68k/include: autoconf.h
 	src/sys/arch/next68k/include: autoconf.h
 	src/sys/arch/shark/shark: autoconf.c
 	src/sys/arch/sparc/include: cpu.h
 	src/sys/arch/sun2/sun2: machdep.h
 	src/sys/arch/sun3/sun3: machdep.h
 	src/sys/arch/vax/include: cpu.h
 	src/sys/arch/x86/include: cpu.h

 Log Message:
 dumpconf(void) long doesn't exist, remove the prototype

 PR kern/39714 by Henning Petersen


 To generate a diff of this commit:
 cvs rdiff -u -r1.18 -r1.19 src/sys/arch/acorn32/acorn32/autoconf.c
 cvs rdiff -u -r1.35 -r1.36 src/sys/arch/alpha/include/alpha.h
 cvs rdiff -u -r1.22 -r1.23 src/sys/arch/hpcarm/hpcarm/autoconf.c
 cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hppa/include/autoconf.h
 cvs rdiff -u -r1.33 -r1.34 src/sys/arch/luna68k/include/cpu.h
 cvs rdiff -u -r1.12 -r1.13 src/sys/arch/mac68k/include/autoconf.h
 cvs rdiff -u -r1.6 -r1.7 src/sys/arch/next68k/include/autoconf.h
 cvs rdiff -u -r1.20 -r1.21 src/sys/arch/shark/shark/autoconf.c
 cvs rdiff -u -r1.97 -r1.98 src/sys/arch/sparc/include/cpu.h
 cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sun2/sun2/machdep.h
 cvs rdiff -u -r1.38 -r1.39 src/sys/arch/sun3/sun3/machdep.h
 cvs rdiff -u -r1.100 -r1.101 src/sys/arch/vax/include/cpu.h
 cvs rdiff -u -r1.72 -r1.73 src/sys/arch/x86/include/cpu.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.