[BUG] DMA_ERROR_CODE undefined in radeon_gart.c

From: Bob Tracy
Date: Tue Apr 19 2011 - 15:42:26 EST


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".

--
------------------------------------------------------------------------
Bob Tracy | "Every normal man must be tempted at times to spit
rct@xxxxxxxx | upon his hands, hoist the black flag, and begin
| slitting throats." -- H.L. Mencken
------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html