Subject: build failure with kernel 2.6.35-rc5-git6/git7 on power box

From: divya <[email-masked]>
Date: Thu, 22 Jul 2010 13:20:57 +0530

Hi,

The kernel versions 2.6.35-rc5-git6(commitid f4b23cc2d5dc78ef) and 2.6.35-rc5-git7(commitid cd5b8f8755a89a5) fails
to build on power6 and power5 machines with the following error

   drivers/gpu/drm/ttm/ttm_page_alloc.c: In function 'set_pages_array_wb':
   drivers/gpu/drm/ttm/ttm_page_alloc.c:227: error: implicit declaration of function 'unmap_page_from_agp'
   drivers/gpu/drm/ttm/ttm_page_alloc.c: In function 'set_pages_array_wc':
   drivers/gpu/drm/ttm/ttm_page_alloc.c:238: error: implicit declaration of function 'map_page_into_agp'
   drivers/gpu/drm/ttm/ttm_page_alloc.c: In function 'ttm_pool_mm_shrink_init':
   drivers/gpu/drm/ttm/ttm_page_alloc.c:419: warning: assignment from incompatible pointer type
   make[4]: *** [drivers/gpu/drm/ttm/ttm_page_alloc.o] Error 1
   make[3]: *** [drivers/gpu/drm/ttm] Error 2

Thanks
Divya