summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-07-17 16:07:46 +0000
committerscottl <scottl@FreeBSD.org>2003-07-17 16:07:46 +0000
commit8e05d6b63f681f78f49f09d15331c7804d97a0ac (patch)
tree2b141d6fba051b177071fa75b96093ec0767cd7e
parentef40f67057079dcc708b01e3964ec2a250680195 (diff)
downloadFreeBSD-src-8e05d6b63f681f78f49f09d15331c7804d97a0ac.zip
FreeBSD-src-8e05d6b63f681f78f49f09d15331c7804d97a0ac.tar.gz
Now that the dust has settled, make dflt_lock() always panic.
-rw-r--r--sys/i386/i386/busdma_machdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/i386/i386/busdma_machdep.c b/sys/i386/i386/busdma_machdep.c
index 2339641..5ebaa00 100644
--- a/sys/i386/i386/busdma_machdep.c
+++ b/sys/i386/i386/busdma_machdep.c
@@ -169,11 +169,7 @@ busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)
static void
dflt_lock(void *arg, bus_dma_lock_op_t op)
{
-#ifdef INVARIANTS
panic("driver error: busdma dflt_lock called");
-#else
- printf("DRIVER_ERROR: busdma dflt_lock called\n");
-#endif
}
#define BUS_DMA_MIN_ALLOC_COMP BUS_DMA_BUS4
OpenPOWER on IntegriCloud