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
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
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
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
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
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
6 matches
Mail list logo