On Thu, 2005-07-14 at 16:59 +0100, Maciej W. Rozycki wrote: > On Thu, 14 Jul 2005, Pete Popov wrote: > > > > Hmm, I think you should include <ioremap.h> instead as that's the header > > > and not <asm/io.h> that provides the necessary bit for <asm/pgtable.h>. > > > > I think I did and it couldn't pick up the right one since we have the > > generic one and then the cpu specific version. > > That would be strange -- the system-specific one (note it's not > CPU-specific) should precede the generic one in the inclusion path list. > And how does <asm/io.h> pick the right one then? No idea, didn't spend enough time on it. I'll do another compile with ioremap.h instead and see what the problem was and if it can be easily fixed. Pete