summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-11-21 19:40:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-11-21 19:40:35 +0000
commitaf2e1bea8499b9585eb4ce52b240a592888d3377 (patch)
treec1dee68c72c8d6a999f664b45cdff74dd3550791 /sys/arch
parent7b31103729484aad21bbf84ed14168ff47e1602e (diff)
Move pmap_set_modify() prototype to a header file
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/m88k/include/pmap.h3
-rw-r--r--sys/arch/m88k/m88k/trap.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/m88k/include/pmap.h b/sys/arch/m88k/include/pmap.h
index 5f95d086931..2687b58836b 100644
--- a/sys/arch/m88k/include/pmap.h
+++ b/sys/arch/m88k/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.10 2007/09/10 18:49:45 miod Exp $ */
+/* $OpenBSD: pmap.h,v 1.11 2007/11/21 19:40:33 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1991 Carnegie Mellon University
@@ -68,6 +68,7 @@ void pmap_cache_ctrl(pmap_t, vaddr_t, vaddr_t, u_int);
void pmap_proc_iflush(struct proc *, vaddr_t, vsize_t);
#define pmap_unuse_final(p) /* nothing */
#define pmap_remove_holes(map) do { /* nothing */ } while (0)
+int pmap_set_modify(pmap_t, vaddr_t);
boolean_t pmap_unsetbit(struct vm_page *, int);
#endif /* _KERNEL */
diff --git a/sys/arch/m88k/m88k/trap.c b/sys/arch/m88k/m88k/trap.c
index d6ef65126c1..05d8b642e8c 100644
--- a/sys/arch/m88k/m88k/trap.c
+++ b/sys/arch/m88k/m88k/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.47 2007/11/21 19:30:09 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.48 2007/11/21 19:40:34 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -609,8 +609,6 @@ m88110_trap(u_int type, struct trapframe *frame)
#endif
int sig = 0;
- extern int pmap_set_modify(pmap_t, vaddr_t);
-
uvmexp.traps++;
if ((p = curproc) == NULL)
p = &proc0;