projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
[powerpc.git]
/
include
/
asm-powerpc
/
atomic.h
diff --git
a/include/asm-powerpc/atomic.h
b/include/asm-powerpc/atomic.h
index
438a7fc
..
c44810b
100644
(file)
--- a/
include/asm-powerpc/atomic.h
+++ b/
include/asm-powerpc/atomic.h
@@
-11,6
+11,7
@@
typedef struct { volatile int counter; } atomic_t;
#include <linux/compiler.h>
#include <asm/synch.h>
#include <asm/asm-compat.h>
+#include <asm/system.h>
#define ATOMIC_INIT(i) { (i) }