Re: [PATCH] Fix ttm_page_alloc.c build breakage

From: Ben Hutchings
Date: Thu Jul 22 2010 - 08:32:41 EST


On Wed, 2010-07-21 at 10:15 -0700, Luck, Tony wrote:
> The commit 1e8655f87333def92bb8215b423adc65403b08a5
> drm/ttm: Fix build on architectures without AGP
>
> looks at TTM_HAS_AGP before it has been set in ttm_bo_driver.h
>
> Move the conditional inclusion of <asm/agp.h> *after* we have included
> ttm_bo_driver.h

D'oh, yes.

> Signed-of-by: Tony Luck <tony.luck@xxxxxxxxx>
Acked-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part