diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2009-12-16 02:52:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:46 -0500 |
commit | a3a6a590190ca77aedf9de871d941c1139a5a24c (patch) | |
tree | 3fbc9066b9e1ce9de3b4f73b81467ec2f48d3262 /arch/blackfin/kernel/dma-mapping.c | |
parent | 0c270807db7c6478d60ab2bc23511fd5868a7a80 (diff) |
Blackfin: dma-mapping: fix thinko in constant optimization
Make sure the non-constant version of the dma_sync functions actually
complete instead of recursively calling itself forever.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/dma-mapping.c')
-rw-r--r-- | arch/blackfin/kernel/dma-mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackfin/kernel/dma-mapping.c index e937f323d82..04ddcfeb798 100644 --- a/arch/blackfin/kernel/dma-mapping.c +++ b/arch/blackfin/kernel/dma-mapping.c | |||
@@ -116,7 +116,7 @@ EXPORT_SYMBOL(dma_free_coherent); | |||
116 | void __dma_sync(dma_addr_t addr, size_t size, | 116 | void __dma_sync(dma_addr_t addr, size_t size, |
117 | enum dma_data_direction dir) | 117 | enum dma_data_direction dir) |
118 | { | 118 | { |
119 | _dma_sync(addr, size, dir); | 119 | __dma_sync_inline(addr, size, dir); |
120 | } | 120 | } |
121 | EXPORT_SYMBOL(__dma_sync); | 121 | EXPORT_SYMBOL(__dma_sync); |
122 | 122 | ||