Re: 2.6.24-rc6-mm1: some section mismatches on sparc64

From: David Miller
Date: Sat Dec 29 2007 - 03:27:21 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Sat, 29 Dec 2007 00:14:11 -0800 (PST)

> You can't do that, the FOO_CONSOLE config options depend upon
> FOO=y.
>
> That's why I'm not worried about this issue and it's not critical at
> all.

Adrian, if you're interested in tackling this "fun" problem,
have a look at add_preferred_console() and find a way to make
that not marked __init. (it's called by sunserial_console_match)

That's what causes this dependency chain of __init problems for the
Sun serial console drivers.

It's problematic, furthermore, because even if one could call
add_preferred_console() from a module properly, it doesn't have the
desired effect of changing init's stdin/stdout/stderr
--
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/