aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_dma.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-12-20 13:46:09 +0100
committerKevin Wolf <kwolf@redhat.com>2011-01-24 11:08:51 +0100
commitc641483fbe0aa08cd7c0580d019dc2d5a7e71138 (patch)
tree5bd0704ad6002cf0c353606954afaad1cc4752eb /hw/omap_dma.c
parent596bb44dead047249c11df24b0e1ffaa514f4909 (diff)
ide: kill ide_dma_submit_check
Merge ide_dma_submit_check into it's only caller. Also use tail recursion using a goto instead of a real recursion - this avoid overflowing the stack in the pathological situation of an recurring error that is ignored. We'll still be busy looping in ide_dma_cb, but at least won't eat up all stack space after this. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/omap_dma.c')
0 files changed, 0 insertions, 0 deletions