Subject: port-hp300/3851: hp300/dev/{rd.c,sd.c} include vm stuff which breaks compiling
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 07/10/1997 19:04:29
>Number: 3851
>Category: port-hp300
>Synopsis: hp300/dev/{rd.c,sd.c} include vm stuff which breaks compiling
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 10 10:20:01 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD current 09.07.1997
>Environment:
HP 9000/400T
>Description:
/src/sys/arch/hp300/dev/{rd.c,sd.c} include vm stuff which breaks compiling
a kernel with current source. According to Jason this is a historical left
over which is no longer necesarry.
>How-To-Repeat:
Try to compile a current kernel on hp300.
>Fix:
Apply the following patch to /src/sys/arch/hp300/dev/{rd.c,sd.c}:
*** rd.c-orig Wed Jun 25 16:09:11 1997
--- rd.c Thu Jul 10 14:54:28 1997
***************
*** 64,74 ****
#include <hp300/dev/rdreg.h>
#include <hp300/dev/rdvar.h>
- #include <vm/vm_param.h>
- #include <vm/lock.h>
- #include <vm/vm_prot.h>
- #include <vm/pmap.h>
-
#include "opt_useleds.h"
#ifdef USELEDS
--- 64,69 ----
*** sd.c-orig Wed Jun 25 16:09:11 1997
--- sd.c Thu Jul 10 15:01:08 1997
***************
*** 59,69 ****
#include <hp300/dev/scsivar.h>
#include <hp300/dev/sdvar.h>
- #include <vm/vm_param.h>
- #include <vm/lock.h>
- #include <vm/vm_prot.h>
- #include <vm/pmap.h>
-
#include "opt_useleds.h"
#ifdef USELEDS
--- 59,64 ----
>Audit-Trail:
>Unformatted:
hp300/dev/{rd.c,sd.c} include vm stuff which breaks compiling