Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869Ab1DSUHO (ORCPT ); Tue, 19 Apr 2011 16:07:14 -0400 Received: from ulysses.noc.ntua.gr ([147.102.222.230]:63396 "EHLO ulysses.noc.ntua.gr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795Ab1DSUHM (ORCPT ); Tue, 19 Apr 2011 16:07:12 -0400 Message-ID: <4DADEB6A.20506@ece.ntua.gr> Date: Tue, 19 Apr 2011 23:07:06 +0300 From: Stratos Psomadakis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110402 Icedove/3.1.9 MIME-Version: 1.0 To: Bob Tracy CC: linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org Subject: Re: [BUG] DMA_ERROR_CODE undefined in radeon_gart.c References: <20110419194222.GA23953@gherkin.frus.com> <4DADEAD8.4090203@ece.ntua.gr> In-Reply-To: <4DADEAD8.4090203@ece.ntua.gr> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (ulysses.noc.ntua.gr [147.102.222.230]); Tue, 19 Apr 2011 23:07:09 +0300 (EEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1505 Lines: 32 On 19/04/2011 11:04 μμ, Stratos Psomadakis wrote: > 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(). [2] > Probably this can work here too [1] http://lkml.org/lkml/2010/3/11/261 [2] http://git.infradead.org/mtd-2.6.git/commitdiff/0c82d3ce -- Stratos Psomadakis -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/