dma-helpers: allow including from target-independent code
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Sep 2011 14:40:01 +0000 (16:40 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 20 Sep 2011 10:27:34 +0000 (12:27 +0200)
commit10dc8aef419b4ce77670fb080ffe995bf9d7b0a1
tree75a4a475ee952dc86153401dc19a64b65ac7b0d9
parentbbca72c6215c3e1df72b80bb3f54fe3b2b05212b
dma-helpers: allow including from target-independent code

Target-independent code cannot construct sglists, but it can take
them from the outside as a black box.  Allow this.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
dma.h