Subject: Some 68k kernel builds depend on UVM define
To: NetBSD current-users mailing list <current-users@netbsd.org>
From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
List: current-users
Date: 03/28/1999 15:52:41
A kernel compile fails on an Atari because genassym.cf has a couple of
conditionals on UVM being defined. The following patch corrects this.
I'm mailing to -current-users because I see that the amiga, hp300 and
mvme68k ports also have 'ifdef UVM' in their genassym.cf (today's sup).
J
--
NetBSD - the most widely ported operating system available
---8<---------------------------- Cut here ---------------------------->8---
*** genassym.cf.dist Thu Oct 1 12:09:31 1998
--- genassym.cf Sun Mar 28 15:12:10 1999
***************
*** 45,53 ****
include <sys/user.h>
include <vm/vm.h>
- ifdef UVM
include <uvm/uvm_extern.h>
- endif
include <machine/cpu.h>
include <machine/trap.h>
--- 45,51 ----
***************
*** 88,99 ****
define SRUN SRUN
# interrupt/fault metering
- # interrupt/fault metering
- ifdef UVM
define UVMEXP_INTRS offsetof(struct uvmexp, intrs)
- else
- define V_INTR offsetof(struct vmmeter, v_intr)
- endif
# general constants
define UPAGES UPAGES
--- 86,92 ----