Re: 2.4.9-ac4: undefined reference pgtable_cache_init

Russell King (rmk@arm.linux.org.uk)
Thu, 30 Aug 2001 23:25:51 +0100


On Thu, Aug 30, 2001 at 03:17:36PM +0000, Paul Larson wrote:
> I've seen this as well on i386. It crops up when you are using HIGHMEM.
> In include/asm-i386/pgtable.h you declare pgtable_cache_init if HIGHMEM
> is on, or define it to the empty while loop if not. It really needs to
> be calling init_pae_pgd_cache instead though. Try this patch against
> 2.4.9-ac4. I don't know if changing the name of init_pae_pgd_cache was
> the Right Thing (tm) to do, but it worked for me. It's not getting
> called anywhere else anyways.

It got changed because we don't want to add multiple architecture
specific functions to init/main.c, but rather have one generic call
which any architecture can use for this type of thing.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/