diff options
author | David Howells <dhowells@redhat.com> | 2012-03-28 18:30:03 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-03-28 18:30:03 +0100 |
commit | 34484277b173d0af1bb00532a264940b57920429 (patch) | |
tree | d3cb2984acf58bfcd08a1f1a67c8e291272418a0 /include/asm-generic/cmpxchg.h | |
parent | f9aa7e1882f3ceec919b30f64a2ce6e66a2571b1 (diff) | |
download | linux-3.10-34484277b173d0af1bb00532a264940b57920429.tar.gz linux-3.10-34484277b173d0af1bb00532a264940b57920429.tar.bz2 linux-3.10-34484277b173d0af1bb00532a264940b57920429.zip |
Make asm-generic/cmpxchg.h #include asm-generic/cmpxchg-local.h
Make asm-generic/cmpxchg.h #include asm-generic/cmpxchg-local.h as all arch
files that #include the former also #include the latter. See:
grep -rl asm-generic/cmpxchg-local[.]h arch/ | sort > b
grep -rl asm-generic/cmpxchg[.]h arch/ | sort > a
comm a b
This simplifies the disintegration of asm-generic/system.h for arches that
don't have their own.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic/cmpxchg.h')
-rw-r--r-- | include/asm-generic/cmpxchg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/cmpxchg.h b/include/asm-generic/cmpxchg.h index 213ac6e8fe3..e0449af91f6 100644 --- a/include/asm-generic/cmpxchg.h +++ b/include/asm-generic/cmpxchg.h @@ -10,6 +10,8 @@ #error "Cannot use generic cmpxchg on SMP" #endif +#include <asm-generic/cmpxchg-local.h> + /* * Atomic compare and exchange. * |