Re: [PATCH 3/4] x86: Unify local_{32|64}.h

2007-12-16 Thread Harvey Harrison
On Sun, 2007-12-16 at 10:18 -0800, H. Peter Anvin wrote: > Harvey Harrison wrote: > > Introduce macros to deal with X86_32 using longs and X86_64 > > using quads. Small comment fixes to make files match. > > > > #define local_read(l) atomic_long_read(&(l)->a) > > #define local_set(l,i)

Re: [PATCH 3/4] x86: Unify local_{32|64}.h

2007-12-16 Thread H. Peter Anvin
Harvey Harrison wrote: Introduce macros to deal with X86_32 using longs and X86_64 using quads. Small comment fixes to make files match. #define local_read(l) atomic_long_read(&(l)->a) #define local_set(l,i) atomic_long_set(&(l)->a, (i)) +/* + * X86_32 uses longs + * X86_64 uses quads + */

[PATCH 3/4] x86: Unify local_{32|64}.h

2007-12-16 Thread Harvey Harrison
Introduce macros to deal with X86_32 using longs and X86_64 using quads. Small comment fixes to make files match. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- include/asm-x86/local.h| 17 + include/asm-x86/local_32.h | 28 ++-- include/as