Re: [PATCH] 2.6.17-rc3-mm1 breaks AGP on amd64 boxes in 32 bit mode

From: Andrew Morton
Date: Wed May 03 2006 - 22:37:00 EST


On Thu, 4 May 2006 00:33:33 +0200
Bernhard Rosenkraenzer <bero@xxxxxxxxxxxx> wrote:

> 2.6.17-rc3-mm1 breaks AGP on amd64 boxes in 32 bit mode - a change in the
> related Kconfig file forces the agp-amd64 module to be built only on x86_64,
> simply reverting that bit introduces unresolved symbols k8_nb_ids and
> k8_northbridges (defined but not exported).

Yeah, it turns out that x86 is doing

+k8-y += ../../x86_64/kernel/k8.o

which I failed to spot. This, along with the "amd64" in the name fooled me
into believing that x86 wasn't supposed to be using this code.

x86_64 uses numerous x86 files in this manner, and now we we have x86 using
a couple of x86_64 files in a siilar manner. I think this is a bad thing,
and that we should make all these cross-references operate in the same
direction rather than in both directions. x86_64 developers already have
to deal with this problem, so why make start burdening x86 developers also?


Anyway. Andi, I'll drop x86_64-mm-new-northbridge-fix.patch. Please add
these exports to your copy of x86_64-mm-new-northbridge.patch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/