2008-06-22 14:14:40

by Stefan Richter

[permalink] [raw]
Subject: [PATCH resend] arm: export dma_sync_sg_for_device (fix build failure)

Date: 2006-06-18 03:49:35 +0200
From: Stefan Richter <[email protected]>
Subject: arm: add EXPORT_SYMBOL(dma_sync_sg_for_device)

as it is for example needed by drivers/ieee1394/dma.c

Signed-off-by: Stefan Richter <[email protected]>
---
arch/arm/common/dmabounce.c | 1 +
1 file changed, 1 insertion(+)

--- a/arch/arm/common/dmabounce.c
+++ b/arch/arm/common/dmabounce.c
@@ -651,6 +651,7 @@ EXPORT_SYMBOL(dma_unmap_sg);
EXPORT_SYMBOL(dma_sync_single_for_cpu);
EXPORT_SYMBOL(dma_sync_single_for_device);
EXPORT_SYMBOL(dma_sync_sg);
+EXPORT_SYMBOL(dma_sync_sg_for_device);
EXPORT_SYMBOL(dmabounce_register_dev);
EXPORT_SYMBOL(dmabounce_unregister_dev);



Refreshed for 2.6.26-rc7, otherwise unchanged since the problem still
exists.
http://osdir.com/ml/kernel.firewire.user/2006-06/msg00038.html
http://marc.info/?l=linux-arm-kernel&m=115166450400713
http://marc.info/?l=linux-arm-kernel&m=121414061629428
--
Stefan Richter
-=====-==--- -==- =-==-
http://arcgraph.de/sr/


2008-06-22 14:47:16

by Russell King

[permalink] [raw]
Subject: Re: [PATCH resend] arm: export dma_sync_sg_for_device (fix build failure)

On Sun, Jun 22, 2008 at 04:13:52PM +0200, Stefan Richter wrote:
> Date: 2006-06-18 03:49:35 +0200
> From: Stefan Richter <[email protected]>
> Subject: arm: add EXPORT_SYMBOL(dma_sync_sg_for_device)
>
> as it is for example needed by drivers/ieee1394/dma.c
>
> Signed-off-by: Stefan Richter <[email protected]>
> ---
> arch/arm/common/dmabounce.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/arch/arm/common/dmabounce.c
> +++ b/arch/arm/common/dmabounce.c
> @@ -651,6 +651,7 @@ EXPORT_SYMBOL(dma_unmap_sg);
> EXPORT_SYMBOL(dma_sync_single_for_cpu);
> EXPORT_SYMBOL(dma_sync_single_for_device);
> EXPORT_SYMBOL(dma_sync_sg);
> +EXPORT_SYMBOL(dma_sync_sg_for_device);
> EXPORT_SYMBOL(dmabounce_register_dev);
> EXPORT_SYMBOL(dmabounce_unregister_dev);

I've just committed a better fix. That dma_sync_sg export should be a
dma_sync_sg_for_cpu. Thanks.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: