Skip to contentSkip to conversation

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

DISCUSSION divya 2 participants 2 messages Jul 22, 2010

lore
Share & tools
lore

divya

author
#0 lore raw

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

#1 lore raw

Hi,

Quoted 5 lines · On Thu, 22 Jul 2010 13:20:57 +0530 divya <[email protected]> wrote:

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

Quoted 8 lines

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

See https://patchwork.kernel.org/patch/113504/

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/