Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread H. Peter Anvin
Harvey Harrison wrote: #define _ASM_INC " incl " _ASM_INC "%0" Not sure if you were just tossing a space on the end of my example, but do you also put a leading space on the " incl " in addition to the trailing space? That is what I have, again, just to make mistakes harder.

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Harvey Harrison
On Sun, 2007-12-16 at 15:48 -0800, H. Peter Anvin wrote: > Harvey Harrison wrote: > > > > Do you have a stylistic preference between these two options: > > > > Option 1) Rely on CPP string constant concatenation > > > > // possibly include trailing space here to avoid remembering > > // leading

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread H. Peter Anvin
Harvey Harrison wrote: Do you have a stylistic preference between these two options: Option 1) Rely on CPP string constant concatenation // possibly include trailing space here to avoid remembering // leading space on the register names # define _ASM_INC "incl" static inline void

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Harvey Harrison
On Sun, 2007-12-16 at 14:48 -0800, H. Peter Anvin wrote: > Ingo Molnar wrote: > > * Harvey Harrison <[EMAIL PROTECTED]> wrote: > > > >> No differences except for the defintion of local_add_return on X86_64. > >> The X86_32 version is just fine as it is protected with ifdef > >> CONFIG_M386 so

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread H. Peter Anvin
Ingo Molnar wrote: * Harvey Harrison <[EMAIL PROTECTED]> wrote: No differences except for the defintion of local_add_return on X86_64. The X86_32 version is just fine as it is protected with ifdef CONFIG_M386 so use it directly. thanks, i've applied your 4 patches to x86.git. btw., now

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Ingo Molnar
* Harvey Harrison <[EMAIL PROTECTED]> wrote: > No differences except for the defintion of local_add_return on X86_64. > The X86_32 version is just fine as it is protected with ifdef > CONFIG_M386 so use it directly. thanks, i've applied your 4 patches to x86.git. btw., now that we have a

[PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Harvey Harrison
No differences except for the defintion of local_add_return on X86_64. The X86_32 version is just fine as it is protected with ifdef CONFIG_M386 so use it directly. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- include/asm-x86/local.h| 149

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread H. Peter Anvin
Ingo Molnar wrote: * Harvey Harrison [EMAIL PROTECTED] wrote: No differences except for the defintion of local_add_return on X86_64. The X86_32 version is just fine as it is protected with ifdef CONFIG_M386 so use it directly. thanks, i've applied your 4 patches to x86.git. btw., now that

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Harvey Harrison
On Sun, 2007-12-16 at 14:48 -0800, H. Peter Anvin wrote: Ingo Molnar wrote: * Harvey Harrison [EMAIL PROTECTED] wrote: No differences except for the defintion of local_add_return on X86_64. The X86_32 version is just fine as it is protected with ifdef CONFIG_M386 so use it directly.

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread H. Peter Anvin
Harvey Harrison wrote: Do you have a stylistic preference between these two options: Option 1) Rely on CPP string constant concatenation // possibly include trailing space here to avoid remembering // leading space on the register names # define _ASM_INC incl static inline void

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Harvey Harrison
On Sun, 2007-12-16 at 15:48 -0800, H. Peter Anvin wrote: Harvey Harrison wrote: Do you have a stylistic preference between these two options: Option 1) Rely on CPP string constant concatenation // possibly include trailing space here to avoid remembering // leading space on the

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread H. Peter Anvin
Harvey Harrison wrote: #define _ASM_INC incl _ASM_INC %0 Not sure if you were just tossing a space on the end of my example, but do you also put a leading space on the incl in addition to the trailing space? That is what I have, again, just to make mistakes harder.

[PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Harvey Harrison
No differences except for the defintion of local_add_return on X86_64. The X86_32 version is just fine as it is protected with ifdef CONFIG_M386 so use it directly. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- include/asm-x86/local.h| 149 ++-

Re: [PATCH 4/4] x86: Final unification of local_{32|64}.h

2007-12-16 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: No differences except for the defintion of local_add_return on X86_64. The X86_32 version is just fine as it is protected with ifdef CONFIG_M386 so use it directly. thanks, i've applied your 4 patches to x86.git. btw., now that we have a single