summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-03-24 21:24:31 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-03-24 21:24:31 +0000
commit17f6e7f20de98baeaf73ff2d6e300e0bc31ea104 (patch)
treed4bb520b1a305d5a1d645da3c83ea017712dd12c /sys/arch
parent289379fd88b9e13500df24b6369a753b67428b17 (diff)
Remove KASSERT that's causing grieve on sun4v, and I've never seen triggered.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/pci_machdep.c5
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)) {