summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-03-17 21:54:07 +0000
committerderaadt <deraadt@openbsd.org>2000-03-17 21:54:07 +0000
commitfd9b658605564bc7e11ff09b34d64b3162cbf3e8 (patch)
tree0eeb213a0e4ee8d98fd8f711265927057885916b
parentFix some space->\t (diff)
downloadwireguard-openbsd-fd9b658605564bc7e11ff09b34d64b3162cbf3e8.tar.xz
wireguard-openbsd-fd9b658605564bc7e11ff09b34d64b3162cbf3e8.zip
move more sun4m stuff behind an #ifdef
-rw-r--r--sys/arch/sparc/sparc/cache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/cache.c b/sys/arch/sparc/sparc/cache.c
index 7ebfb4cebda..28baedda260 100644
--- a/sys/arch/sparc/sparc/cache.c
+++ b/sys/arch/sparc/sparc/cache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cache.c,v 1.12 2000/02/21 14:51:20 art Exp $ */
+/* $OpenBSD: cache.c,v 1.13 2000/03/17 21:54:07 deraadt Exp $ */
/* $NetBSD: cache.c,v 1.34 1997/09/26 22:17:23 pk Exp $ */
/*
@@ -111,6 +111,7 @@ sun4_cache_enable()
#endif
}
+#if defined(SUN4M)
void
ms1_cache_enable()
{
@@ -342,6 +343,7 @@ turbosparc_cache_enable()
CACHEINFO.c_enabled = 1;
printf("cache enabled\n");
}
+#endif /* defined(SUN4M) */
/*
* Flush the current context from the cache.