diff options
author | ian <ian@FreeBSD.org> | 2013-03-23 17:17:06 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-03-23 17:17:06 +0000 |
commit | 6b18376e6224543a014a5697b211f2cfd486f448 (patch) | |
tree | b0868cb033fcb6bb15d1e6c3e4a6abedbb3e7021 /bin/ed | |
parent | 440f1aaedb0e2bc1aa766bba189d07034d8fdc8e (diff) | |
download | FreeBSD-src-6b18376e6224543a014a5697b211f2cfd486f448.zip FreeBSD-src-6b18376e6224543a014a5697b211f2cfd486f448.tar.gz |
Don't check and warn about pmap mismatch on every call to busdma sync.
With some recent busdma refactoring, sometimes it happens that a sync
op gets called when bus_dmamap_load() never got called, which results
in a spurious warning about a map mismatch when no sync operations will
actually happen anyway. Now the check is done only if a sync operation
is actually performed, and the result of the check is a panic, not just
a printf.
Reviewed by: cognet (who prevented me from donning a point hat)
Diffstat (limited to 'bin/ed')
0 files changed, 0 insertions, 0 deletions