brcm47xx: use kernel 2.6.34.1 as default kernel
[openwrt.git] / target / linux / ixp4xx / patches-2.6.33 / 601-arm-dma_free_coherent.patch
1 --- a/arch/arm/mm/dma-mapping.c
2 +++ b/arch/arm/mm/dma-mapping.c
3 @@ -384,7 +384,8 @@ EXPORT_SYMBOL(dma_mmap_writecombine);
4 */
5 void dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t handle)
6 {
7 - WARN_ON(irqs_disabled());
8 + if (irqs_disabled()) /* don't want stack dumps for these! */
9 + printk("WARNING: at %s:%d %s()\n", __FILE__, __LINE__, __FUNCTION__);
10
11 if (dma_release_from_coherent(dev, get_order(size), cpu_addr))
12 return;
This page took 0.042096 seconds and 5 git commands to generate.