Re: [PATCH] 2.5.53 AGP module oops

Dave Jones (davej@codemonkey.org.uk)
Sat, 28 Dec 2002 18:55:57 +0000


On Sat, Dec 28, 2002 at 01:45:22AM +0100, Mikael Pettersson wrote:
> The stack trace shows that we should be in agp_find_max() as
> called from agp_backend_initialize(). However, agp_find_max()
> is __init and its code has already been removed at this point
> (since agpgart and intel-agp are separate modules), causing
> the kernel to execute random code and eventually oops.
>
> The patch below works around this by changing agpgart's __init
> code & data to normal code & data. Tested, works for me.

Looks good to me, applied.

Thanks.

Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/