aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/core.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-09-20 15:21:03 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-20 15:21:03 -0500
commitc8af89af96dac46922f6664cf0ca238a6b1adf0d (patch)
tree1f484f739ba85f5f9d71c3128abcbf99108a8c7c /hw/ide/core.c
parent39ba59c21bdc3b1dda09219919b87fe001e7d5d9 (diff)
parent16a06b24306b5733a4ef2e585964838e47735a54 (diff)
Merge remote-tracking branch 'kwolf/for-anthony' into staging
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 4d5a076ad2..4e76fc78d3 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;
}