Hi Linus, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpu/drm/ttm/ttm_page_alloc.c: In function 'set_pages_a rray_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' Presumably caused by commit 1e8655f87333def92bb8215b423adc65403b08a5 ("drm/ttm: Fix build on architectures without AGP") as unmap_page_from_agp() is declared in asm/agp.h. I have applied the following patch for today: From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Thu, 22 Jul 2010 13:53:55 +1000 Subject: [PATCH] drm/ttm: really fix build on architectures without AGP After commit 1e8655f87333def92bb8215b423adc65403b08a5 ("drm/ttm: Fix build on architectures without AGP") was merged, linux-next got this build failure for a powerpc allyesconfig build: drivers/gpu/drm/ttm/ttm_page_alloc.c: In function 'set_pages_a rray_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' Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index d233c65..590f0c2 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c @@ -40,12 +40,12 @@ #include <linux/slab.h> #include <asm/atomic.h> -#ifdef TTM_HAS_AGP -#include <asm/agp.h> -#endif #include "ttm/ttm_bo_driver.h" #include "ttm/ttm_page_alloc.h" +#ifdef TTM_HAS_AGP +#include <asm/agp.h> +#endif #define NUM_PAGES_TO_ALLOC (PAGE_SIZE/sizeof(struct page *)) -- 1.7.1 -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/ -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html