summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-12-07 18:06:50 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-12-07 18:06:50 +0000
commit049c4d2e7d696deb608424e4a4b9dd2b7a4a5f03 (patch)
treedec42299b5b07fe85d6174eb3ac3ec9966272bda /sys/arch/sparc
parent44f8d100e85e9a954e685d0b0fe35425e2f7f173 (diff)
make it compile on SUN4M-only
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/pmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/pmap.c b/sys/arch/sparc/sparc/pmap.c
index c18b998836d..dd59890a3d2 100644
--- a/sys/arch/sparc/sparc/pmap.c
+++ b/sys/arch/sparc/sparc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.108 2001/12/07 15:11:49 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.109 2001/12/07 18:06:49 mickey Exp $ */
/* $NetBSD: pmap.c,v 1.118 1998/05/19 19:00:18 thorpej Exp $ */
/*
@@ -5997,8 +5997,10 @@ pmap_phys_address(int x)
void
kvm_uncache(caddr_t va, int npages)
{
+#if defined(SUN4) || defined(SUN4C)
int pte;
struct pvlist *pv;
+#endif
if (CPU_ISSUN4M) {
panic("kvm_uncache on 4m");