Don't do anything if there are no streaming buffer cache.
This commit is contained in:
parent
1556fd569d
commit
6383ae6ccb
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: iommu.c,v 1.62 2002/10/24 23:24:01 petrov Exp $ */
|
||||
/* $NetBSD: iommu.c,v 1.63 2003/01/16 21:55:52 petrov Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002 Eduardo Horvath
|
||||
@ -911,6 +911,9 @@ iommu_dvmamap_sync(t, sb, map, offset, len, ops)
|
||||
int64_t tte;
|
||||
vaddr_t vaend;
|
||||
|
||||
if (!sb->sb_flush)
|
||||
return;
|
||||
|
||||
/*
|
||||
* We only support one DMA segment; supporting more makes this code
|
||||
* too unwieldy.
|
||||
|
Loading…
Reference in New Issue
Block a user