[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090821213833.GA16210@merkur.ravnborg.org>
Date: Fri, 21 Aug 2009 23:38:33 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: Jan Beulich <JBeulich@...ell.com>, tglx@...utronix.de,
hpa@...or.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: properly annotate alternatives.c
On Fri, Aug 21, 2009 at 10:09:08PM +0200, Ingo Molnar wrote:
>
> * Jan Beulich <JBeulich@...ell.com> wrote:
>
> > Some of the NOPs tables aren't used on 64-bits, quite some code and
> > data is needed post-init for module loading only, and a couple of
> > functions aren't used outside that file (i.e. can be static, and don't
> > need to be exported).
> >
> > The change to __INITDATA/__INITRODATA is needed to avoid an assembler
> > warning.
> >
> > Signed-off-by: Jan Beulich <jbeulich@...ell.com>
> > Cc: Sam Ravnborg <sam@...nborg.org>
> >
> > ---
> > arch/x86/include/asm/alternative.h | 7 ----
> > arch/x86/kernel/alternative.c | 56 +++++++++++++++++++++----------------
> > include/linux/init.h | 12 ++++++-
> > 3 files changed, 42 insertions(+), 33 deletions(-)
>
> looks like a nice improvement. Sam, what do you think?
I briefly looked at the __INIT*DATA cahnges.
I recall that I had something similar only that I used @progbits which
arm does not support. And I did not want to specialcase arm.
It is only recently I learned that we can always use %progbits.
So it has my:
Acked-by: Sam Ravnborg <sam@...nborg.org>
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists