[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DADEAD8.4090203@ece.ntua.gr>
Date: Tue, 19 Apr 2011 23:04:40 +0300
From: Stratos Psomadakis <psomas@....ntua.gr>
To: Bob Tracy <rct@...rkin.frus.com>
CC: linux-kernel@...r.kernel.org, linux-alpha@...r.kernel.org
Subject: Re: [BUG] DMA_ERROR_CODE undefined in radeon_gart.c
On 19/04/2011 10:42 μμ, Bob Tracy wrote:
> Attempted to build 2.6.39-rc4 on an Alpha and got the following error:
>
> CC [M] drivers/gpu/drm/radeon/radeon_gart.o
> drivers/gpu/drm/radeon/radeon_gart.c: In function 'radeon_gart_bind':
> drivers/gpu/drm/radeon/radeon_gart.c:186: error: 'DMA_ERROR_CODE' undeclared (first use in this function)
> drivers/gpu/drm/radeon/radeon_gart.c:186: error: (Each undeclared identifier is reported only once
> drivers/gpu/drm/radeon/radeon_gart.c:186: error: for each function it appears in.)
> make[4]: *** [drivers/gpu/drm/radeon/radeon_gart.o] Error 1
> make[3]: *** [drivers/gpu/drm/radeon] Error 2
> make[2]: *** [drivers/gpu/drm] Error 2
> make[1]: *** [drivers/gpu] Error 2
> make: *** [drivers] Error 2
>
> It appears that "DMA_ERROR_CODE" is currently defined for several
> architectures in "arch/*/include/asm/dma-mapping.h", but not for "alpha"
Similar issue in this discussion [1].
They solved it by replacing DMA_ERROR_CODE with dma_mapping_error().
Probably this can work here too.
--
Stratos Psomadakis
<psomas@....ntua.gr>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists