diff options
author | 2008-03-24 21:24:30 +0000 | |
---|---|---|
committer | 2008-03-24 21:24:30 +0000 | |
commit | ec116abcca9f4315f212789c2dc1debc3ab905e6 (patch) | |
tree | 29eca36912da2f963d5f819aceb8f53717576fd7 | |
parent | - extern.h is already included by ps.h, so zap it. (diff) | |
download | wireguard-openbsd-ec116abcca9f4315f212789c2dc1debc3ab905e6.tar.xz wireguard-openbsd-ec116abcca9f4315f212789c2dc1debc3ab905e6.zip |
Remove KASSERT that's causing grieve on sun4v, and I've never seen triggered.
-rw-r--r-- | sys/arch/sparc64/dev/pci_machdep.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/sparc64/dev/pci_machdep.c b/sys/arch/sparc64/dev/pci_machdep.c index a4d5f2696e5..0066ec2b73e 100644 --- a/sys/arch/sparc64/dev/pci_machdep.c +++ b/sys/arch/sparc64/dev/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.35 2008/03/08 16:34:32 kettenis Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.36 2008/03/24 21:24:30 kettenis Exp $ */ /* $NetBSD: pci_machdep.c,v 1.22 2001/07/20 00:07:13 eeh Exp $ */ /* @@ -248,9 +248,6 @@ sparc64_pci_enumerate_bus(struct pci_softc *sc, * ecache line and the streaming cache (64 byte). */ cacheline = max(cacheinfo.ec_linesize, 64); - KASSERT((cacheline/64)*64 == cacheline && - (cacheline/cacheinfo.ec_linesize)*cacheinfo.ec_linesize == cacheline && - (cacheline/4)*4 == cacheline); for (node = OF_child(node); node != 0 && node != -1; node = OF_peer(node)) { |