[PATCH 03/10] local_t : i386 extension

2007-02-11 Thread Mathieu Desnoyers
local_t : i386 extension Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> --- a/include/asm-i386/local.h +++ b/include/asm-i386/local.h @@ -2,47 +2,198 @@ #define _ARCH_I386_LOCAL_H #include +#include +#include typedef struct { - volatile long counter; + atomic_long_t

[PATCH 03/10] local_t : i386 extension

2007-02-11 Thread Mathieu Desnoyers
local_t : i386 extension Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED] --- a/include/asm-i386/local.h +++ b/include/asm-i386/local.h @@ -2,47 +2,198 @@ #define _ARCH_I386_LOCAL_H #include linux/percpu.h +#include asm/system.h +#include asm/atomic.h typedef struct { - volatile

[PATCH 03/10] local_t : i386 extension

2007-01-25 Thread Mathieu Desnoyers
local_t : i386 extension Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> --- a/include/asm-i386/local.h +++ b/include/asm-i386/local.h @@ -2,47 +2,198 @@ #define _ARCH_I386_LOCAL_H #include +#include +#include typedef struct { - volatile long counter; + atomic_long_t

[PATCH 03/10] local_t : i386 extension

2007-01-25 Thread Mathieu Desnoyers
local_t : i386 extension Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED] --- a/include/asm-i386/local.h +++ b/include/asm-i386/local.h @@ -2,47 +2,198 @@ #define _ARCH_I386_LOCAL_H #include linux/percpu.h +#include asm/system.h +#include asm/atomic.h typedef struct { - volatile

[PATCH 03/10] local_t : i386 extension

2007-01-11 Thread Mathieu Desnoyers
local_t : i386 extension Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> --- a/include/asm-i386/local.h +++ b/include/asm-i386/local.h @@ -2,47 +2,198 @@ #define _ARCH_I386_LOCAL_H #include +#include +#include typedef struct { - volatile long counter; + atomic_long_t

[PATCH 03/10] local_t : i386 extension

2007-01-11 Thread Mathieu Desnoyers
local_t : i386 extension Signed-off-by: Mathieu Desnoyers [EMAIL PROTECTED] --- a/include/asm-i386/local.h +++ b/include/asm-i386/local.h @@ -2,47 +2,198 @@ #define _ARCH_I386_LOCAL_H #include linux/percpu.h +#include asm/system.h +#include asm/atomic.h typedef struct { - volatile