linux-mips
[Top] [All Lists]

Re: [MIPS] Fix section mismatches when compiling atlas and decstation de

To: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Subject: Re: [MIPS] Fix section mismatches when compiling atlas and decstation defconfigs
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 9 Jul 2008 10:53:24 +0100
Cc: Shane McDonald <mcdonald.shane@gmail.com>, linux-mips@linux-mips.org
In-reply-to: <487468E2.30402@movial.fi>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <E1KFH2c-0005iq-80@localhost> <20080708184922.GA27245@linux-mips.org> <487468E2.30402@movial.fi>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17 (2007-11-01)
On Wed, Jul 09, 2008 at 10:29:38AM +0300, Dmitri Vorobiev wrote:

> Ralf Baechle wrote:
> > On Sat, Jul 05, 2008 at 05:19:42PM -0600, Shane McDonald wrote:
> > 
> >> From: Shane McDonald <mcdonald.shane@gmail.com>
> >>
> >> Section mismatches are reported when compiling the default
> >> Atlas configuration and the default Decstation configuration.
> >> This patch resolves those mismatches by defining affected
> >> functions with the __cpuinit attribute, rather than __init.
> >>
> >> Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com>
> > 
> > I already had an earlier version of your patch applied so I have only
> > applied the c-r4k.c part now with an adjusted comment.
> 
> Isn't Atlas doomed to death?

Yes - but there is nothing in this patch that actually makes it Atlas or
DECstation specific.  It's simply fixing bugs in the CPU cache code.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>