From f1f16fdb452da8aed2edcb35b5c150519c1cc94b Mon Sep 17 00:00:00 2001 From: tsutsui Date: Wed, 10 Dec 2008 17:13:53 +0000 Subject: [PATCH] Prepare kernel_pmap_ptr as well as other m68k ports which have own pmap.c. --- sys/arch/m68k/m68k/pmap_motorola.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/m68k/m68k/pmap_motorola.c b/sys/arch/m68k/m68k/pmap_motorola.c index 39b0416a83d7..43a0d764677f 100644 --- a/sys/arch/m68k/m68k/pmap_motorola.c +++ b/sys/arch/m68k/m68k/pmap_motorola.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap_motorola.c,v 1.39 2008/06/28 13:22:14 tsutsui Exp $ */ +/* $NetBSD: pmap_motorola.c,v 1.40 2008/12/10 17:13:53 tsutsui Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -117,7 +117,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.39 2008/06/28 13:22:14 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.40 2008/12/10 17:13:53 tsutsui Exp $"); #include #include @@ -237,6 +237,7 @@ st_entry_t *Segtabzero, *Segtabzeropa; vsize_t Sysptsize = VM_KERNEL_PT_PAGES; struct pmap kernel_pmap_store; +struct pmap *const kernel_pmap_ptr = &kernel_pmap_store; struct vm_map *st_map, *pt_map; struct vm_map_kernel st_map_store, pt_map_store;