summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-05-08 21:02:07 +0000
committermarius <marius@FreeBSD.org>2008-05-08 21:02:07 +0000
commit5d531f6d432700d23c576d4dd144ca9cca02f5ef (patch)
treead9e9ac3569f6b6d0c33812ba5104f84eb441695 /sys/sparc64
parent5f200e421a91a7811760bebbfdeda3653b2cef13 (diff)
downloadFreeBSD-src-5d531f6d432700d23c576d4dd144ca9cca02f5ef.zip
FreeBSD-src-5d531f6d432700d23c576d4dd144ca9cca02f5ef.tar.gz
Remove #if 0'ed code referencing no longer existent ecache_flush().
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/bus_machdep.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/sparc64/sparc64/bus_machdep.c b/sys/sparc64/sparc64/bus_machdep.c
index 764ef45..0bf9b2e 100644
--- a/sys/sparc64/sparc64/bus_machdep.c
+++ b/sys/sparc64/sparc64/bus_machdep.c
@@ -609,13 +609,6 @@ nexus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, bus_dmasync_op_t op)
*/
membar(Sync);
}
-#if 0
- /* Should not be needed. */
- if (op & BUS_DMASYNC_POSTREAD) {
- ecache_flush((vm_offset_t)map->buf,
- (vm_offset_t)map->buf + map->buflen - 1);
- }
-#endif
if (op & BUS_DMASYNC_POSTWRITE) {
/* Nothing to do. Handled by the bus controller. */
}
OpenPOWER on IntegriCloud