Messages in this thread | | | Date | Sat, 29 Dec 2007 00:27:08 -0800 (PST) | Subject | Re: 2.6.24-rc6-mm1: some section mismatches on sparc64 | From | David Miller <> |
| |
From: David Miller <davem@davemloft.net> 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
| |