Re: [PATCH] pop previous section in alternative.c
From: Andi Kleen
Date: Thu Apr 10 2008 - 11:01:47 EST
On Thu, Apr 10, 2008 at 07:46:25AM -0700, Linus Torvalds wrote:
>
>
> On Thu, 10 Apr 2008, Andi Kleen wrote:
> >
> > So in summary valid section patterns are either
> > .section / .previous or .pushsection .section .popsection
>
> The thing is, we'd be much better off with some sanity checking in the
> assembler.
>
> Which is likely not going to happen - oh well.
A simple way to detect it on the assembler level would be checking
that the section is the same after #NO_APP as before #APP
-Andi
--
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/