lkml.org 
[lkml]   [2007]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.24-rc6-mm1: some section mismatches on sparc64
On Sat, Dec 29, 2007 at 01:18:02AM -0800, David Miller wrote:
> From: Adrian Bunk <bunk@kernel.org>
> Date: Sat, 29 Dec 2007 11:06:19 +0200
>
> > On Sat, Dec 29, 2007 at 12:54:08AM -0800, David Miller wrote:
> > > From: Adrian Bunk <bunk@kernel.org>
> > > Date: Sat, 29 Dec 2007 10:48:46 +0200
> > >
> > > > On Sat, Dec 29, 2007 at 12:14:11AM -0800, David Miller wrote:
> > > > > That's why I'm not worried about this issue and it's not critical at
> > > > > all.
> > > >
> > > > If a module calls sunserial_console_match() that's an Oops.
> > >
> > > That's true.
> > >
> > > I'm trying to figure out a way to fix this.
> >
> > #ifdef FOO_CONSOLE around the sunserial_console_match() calls in the
> > drivers should work.
>
> It absolutely doesn't work, I tried this, see my other reply.
>
> The issue is add_preferred_console() is __init, driver probe calls are
> __devinit which are either __init or not __init.
>
> So even with the FOO_CONSOLE ifdef (or something similar like the
> patch I posted) we'll still get section mismatch warnings.
>...

Sorry, I shouldn't suggest stuff I haven't tried myself... :-(

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed



\
 
 \ /
  Last update: 2007-12-29 10:57    [W:0.241 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site