summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-11-25 19:19:39 +0000
committermiod <miod@openbsd.org>2005-11-25 19:19:39 +0000
commit283266fb41d73f377ff9c7ff27f7475696e70ad6 (patch)
tree2cd34603140c41af13d5bf685654e0ab75969d9e
parentCut alpha over to inf-ptrace.c, making fork following work. (diff)
downloadwireguard-openbsd-283266fb41d73f377ff9c7ff27f7475696e70ad6.tar.xz
wireguard-openbsd-283266fb41d73f377ff9c7ff27f7475696e70ad6.zip
We don't have a va mapping in match() so don't bother trying to use badvaddr()
at all.
-rw-r--r--sys/arch/mvme68k/dev/sram.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/mvme68k/dev/sram.c b/sys/arch/mvme68k/dev/sram.c
index 159dfb06e3b..873e01ccab0 100644
--- a/sys/arch/mvme68k/dev/sram.c
+++ b/sys/arch/mvme68k/dev/sram.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sram.c,v 1.16 2005/11/24 22:43:16 miod Exp $ */
+/* $OpenBSD: sram.c,v 1.17 2005/11/25 19:19:39 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -75,9 +75,8 @@ srammatch(parent, vcf, args)
if (cputyp == CPU_147)
return (0);
- if (ca->ca_vaddr == (vaddr_t)-1)
- return (!badpaddr(ca->ca_paddr, 1));
- return (!badvaddr((vaddr_t)ca->ca_vaddr, 1));
+
+ return (!badpaddr(ca->ca_paddr, 1));
}
void