summaryrefslogtreecommitdiffstats
path: root/hw/ide/core.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-16 16:40:00 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-19 11:35:33 +0200
commitbbca72c6215c3e1df72b80bb3f54fe3b2b05212b (patch)
tree867c6cd10e3c54b75d087649bce8d2f54033d4b4 /hw/ide/core.c
parent1b8f8a6f9190996c617a177acc3b8fd7dff87e24 (diff)
downloadhqemu-bbca72c6215c3e1df72b80bb3f54fe3b2b05212b.zip
hqemu-bbca72c6215c3e1df72b80bb3f54fe3b2b05212b.tar.gz
dma-helpers: rename is_write to to_dev
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/core.c')
-rw-r--r--hw/ide/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/core.c b/hw/ide/core.c
index 9297b9e..f424347 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -603,7 +603,7 @@ handle_rw_error:
break;
case IDE_DMA_TRIM:
s->bus->dma->aiocb = dma_bdrv_io(s->bs, &s->sg, sector_num,
- ide_issue_trim, ide_dma_cb, s, 1);
+ ide_issue_trim, ide_dma_cb, s, true);
break;
}
OpenPOWER on IntegriCloud