fix build for kernel configs lacking KA46, KA48, KA49 and KA53 support.

OK by mhitch.
This commit is contained in:
hans 2008-11-19 20:26:40 +00:00
parent e157b99c7c
commit dae9680b33
1 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.169 2008/11/12 12:36:09 ad Exp $ */
/* $NetBSD: machdep.c,v 1.170 2008/11/19 20:26:40 hans Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@ -83,7 +83,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.169 2008/11/12 12:36:09 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.170 2008/11/19 20:26:40 hans Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@ -173,7 +173,9 @@ int iospace_inited = 0;
void
cpu_startup(void)
{
#if VAX46 || VAX48 || VAX49 || VAX53 || VAXANY
vaddr_t minaddr, maxaddr;
#endif
extern paddr_t avail_end;
char pbuf[9];
@ -197,9 +199,9 @@ cpu_startup(void)
mtpr(AST_NO, PR_ASTLVL);
spl0();
#if VAX46 || VAX48 || VAX49 || VAX53 || VAXANY
minaddr = 0;
#if VAX46 || VAX48 || VAX49 || VAX53 || VAXANY
/*
* Allocate a submap for physio. This map effectively limits the
* number of processes doing physio at any one time.