Re: !CONFIG_MMU stubs in 2.5.66

Christoph Hellwig (hch@lst.de)
Tue, 25 Mar 2003 07:47:39 +0100


On Tue, Mar 25, 2003 at 01:20:16PM +0900, Miles Bader wrote:
> The following change in 2.5.66:
>
> [PATCH] a few missing stubs for !CONFIG_MMU
>
> Patch from Christoph Hellwig <hch@lst.de>
>
> This is from the uClinux patches - there are a few more stubs needed
> in nommu.c to get the mmuless plattforms working.
>
> Adds definitions for vmalloc_to_page, follow_page, and remap_page_range,
> to mm/mmnommu.c. However, there are already inline definitions of those
> functions (predicated on !CONFIG_MMU) in linux/mm.h, so compilation
> fails.
>
> Which is the correct location?

OOPS, it looks like Greg & me submitted paches in parallel. Personally I
prefer the out of line ones over the inlines, especially as they handle
vmalloc_to_page properly. I'll submit a patch to Linus to fix this
mess.

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