Re: [PATCH 1/3] module: deal with alignment issues in built-in module versions
From: Linus Torvalds
Date: Thu Feb 17 2011 - 12:25:57 EST
On Mon, Feb 7, 2011 at 4:02 PM, Dmitry Torokhov <dtor@xxxxxxxxxx> wrote:
>
> Moreover, as DaveM said, we can't reliably put structures into
> independent objects, put them into a special section, and then expect
> array access over them (via the section boundaries) after linking the
> objects together to just "work" due to variable alignment choices in
> different situations.
Why not?
That's what we normally do. Just align the "__modver", and you should
be all good. What's the problem?
Linus
--
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/