diff options
author | David S. Miller <davem@davemloft.net> | 2009-02-06 22:06:43 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-06 22:06:43 -0800 |
commit | b4bd07c20ba0c1fa7ad09ba257e0a5cfc2bf6bb3 (patch) | |
tree | 41fb5a2fe732a0e4f3da00e31b55418ff988932f /net/9p | |
parent | 152abd139cca049c9b559a7cca762fa7fd9fd264 (diff) | |
download | lwn-b4bd07c20ba0c1fa7ad09ba257e0a5cfc2bf6bb3.tar.gz lwn-b4bd07c20ba0c1fa7ad09ba257e0a5cfc2bf6bb3.zip |
net_dma: call dmaengine_get only if NET_DMA enabled
Based upon a patch from Atsushi Nemoto <anemo@mba.ocn.ne.jp>
--------------------
The commit 649274d993212e7c23c0cb734572c2311c200872 ("net_dma:
acquire/release dma channels on ifup/ifdown") added unconditional call
of dmaengine_get() to net_dma. The API should be called only if
NET_DMA was enabled.
--------------------
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions