Re: [PATCH 0/2] jump label: update for .39

From: Steven Rostedt
Date: Thu Mar 10 2011 - 18:43:12 EST


On Fri, 2011-03-11 at 00:32 +0100, Thomas Gleixner wrote:

> > It should work, but it hurts my eyes to see the source code forcing a 64-bit
> > word to 32-bit alignment.
>
> We solved such stuff with macros in other places already.
>
> #ifdef 64bit
> # define BLA 8
> #else
> # define BLA 4
> #endif
>
> and then use
>
> .aling BLA
>
> Where is the problem?

That's basically the solution that Jason came up with, and what I
expected. What caught my eye was that David Miller had .align 4 for this
on sparc which is the one arch that is truly picky about such things. As
I understood more about this, I see that would work for both archs.

That doesn't mean I'm against the .align BLA solution.

-- Steve


--
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/