OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc41233
)
[S390] Remove volatile from atomic_t
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Tue, 10 Jul 2007 09:24:16 +0000
(11:24 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Tue, 10 Jul 2007 09:24:49 +0000
(11:24 +0200)
Follow i386/x86_64 and remove 'volatile' from atomic_t.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/atomic.h
patch
|
blob
|
history
diff --git
a/include/asm-s390/atomic.h
b/include/asm-s390/atomic.h
index
c17bdbf
..
ea48695
100644
(file)
--- a/
include/asm-s390/atomic.h
+++ b/
include/asm-s390/atomic.h
@@
-24,7
+24,7
@@
*/
typedef struct {
-
volatile
int counter;
+ int counter;
} __attribute__ ((aligned (4))) atomic_t;
#define ATOMIC_INIT(i) { (i) }
@@
-141,7
+141,7
@@
static __inline__ int atomic_add_unless(atomic_t *v, int a, int u)
#ifdef __s390x__
typedef struct {
-
volatile
long long counter;
+ long long counter;
} __attribute__ ((aligned (8))) atomic64_t;
#define ATOMIC64_INIT(i) { (i) }