Re: [PATCH] Consolidate init_mm definition

From: AmÃrico Wang
Date: Sun Mar 29 2009 - 12:43:32 EST


On Fri, Mar 27, 2009 at 02:51:16AM +0300, Alexey Dobriyan wrote:
>* create mm/init-mm.c, move init_mm there
>* remove INIT_MM, initialize init_mm with C99 initializer
>* unexport init_mm on all arches:
>
> init_mm is already unexported on x86.
>
> One strange place is some OMAP driver (drivers/video/omap/) which
> won't build modular, but it's already wants get_vm_area() export.
> Somebody should look there.
>

Nice patch!

I don't know if my reply is too late or not.
But, do we need a new C file just to hold the init_mm definition?

Thanks.

--
Do what you love, f**k the rest! F**k the regulations!

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