Re: [PATCH] alpha: binfmt_aout fix

From: Ivan Kokshaysky
Date: Tue Feb 17 2009 - 06:40:59 EST


On Tue, Feb 17, 2009 at 06:08:42AM -0500, Christoph Hellwig wrote:
> I think the proper fix for this is to make sure newly registered
> binfmts are added to the tail of the list, not the front.

Yes, I was thinking about that. But then I need to make sure
that alpha binfmt_loader is registered first, which is not
possible at the moment as binfmts get registered at core_initcall
level.
If it's acceptable to change binfmts initcall level to, say,
fs_initcall, then changing list_add() to list_add_tail() would
certainly work fine here.

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