Subject: port-powerpc/9424: arch/powerpc/include/vmparam.h is unused
To: None <gnats-bugs@gnats.netbsd.org>
From: None <erik@mediator.uni-c.dk>
List: netbsd-bugs
Date: 02/15/2000 13:35:06
>Number:         9424
>Category:       port-powerpc
>Synopsis:       arch/powerpc/include/vmparam.h is unused
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-powerpc-maintainer (NetBSD/powerpc Portmasters)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 15 13:33:01 2000
>Last-Modified:
>Originator:     Erik Bertelsen
>Organization:
	
>Release:        NetBSD-current 15 Feb 2000
>Environment:
	
System: NetBSD erik-be.uni-c.dk 1.4S NetBSD 1.4S (ERIKBE) #347: Mon Feb 14 07:51:33 MET 2000 erik@erik-be.uni-c.dk:/sw/NetBSD/src/sys/arch/i386/compile/ERIKBE i386


>Description:
	I've noticed that the file arch/powerpc/include/vmparam.h seems
	to be completely unused by the kernel -- each powerpc-port has its
	own slightly modified version in arch/{bebox,ofppc,macppc}/include/vmparam.h.
>How-To-Repeat:
>Fix:
	Either of two:

	1. The quick&dirty fix is to remove arch/powerpc/include/vmparam.h
	to avoid any confusion about its non-usage.

	2. Reduce arch/powerpc/include/vmparam.h to just contain the common
	stuff and then replace those pieces from the machine-specific
	vmparam.h's by an include of <powerpc/vmparam.h>. If this suggestion
	is accepted by the powers-that-be, I'll be happy to suggest patches
	to implement this if that's going to expedite things.

	best regards
	Erik Bertelsen
>Audit-Trail:
>Unformatted: