diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-05-01 15:16:47 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-05-01 15:16:47 +0000 |
commit | 266e37bbe3b824902acb4a40870f8cb934e2fe23 (patch) | |
tree | 9efaeb19c79fc8a2efcc5984ca0d68e3521529e6 | |
parent | 672dc97698b3b182d166d8673340db6c6d8d6e53 (diff) |
Compile without NONCONTIG too
-rw-r--r-- | sys/arch/arc/arc/pmap.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/arc/arc/pmap.c b/sys/arch/arc/arc/pmap.c index df9b40e1065..f1e052eea70 100644 --- a/sys/arch/arc/arc/pmap.c +++ b/sys/arch/arc/arc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.9 1997/04/19 17:19:46 pefo Exp $ */ +/* $OpenBSD: pmap.c,v 1.10 1997/05/01 15:16:46 pefo Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 8.4 (Berkeley) 1/26/94 - * $Id: pmap.c,v 1.9 1997/04/19 17:19:46 pefo Exp $ + * $Id: pmap.c,v 1.10 1997/05/01 15:16:46 pefo Exp $ */ /* @@ -200,11 +200,14 @@ void pmap_bootstrap(firstaddr) vm_offset_t firstaddr; { - register int i, n, nextpage; - register pt_entry_t *spte; - struct physseg *pseg; + int i; + pt_entry_t *spte; vm_offset_t start = firstaddr; extern int physmem; +#ifdef MACHINE_NONCONTIG + struct physseg *pseg; + int n, nextpage; +#endif #define valloc(name, type, num) \ |