Make asm-generic/cmpxchg.h #include asm-generic/cmpxchg-local.h
authorDavid Howells <dhowells@redhat.com>
Wed, 28 Mar 2012 17:30:03 +0000 (18:30 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 28 Mar 2012 17:30:03 +0000 (18:30 +0100)
commit34484277b173d0af1bb00532a264940b57920429
treed3cb2984acf58bfcd08a1f1a67c8e291272418a0
parentf9aa7e1882f3ceec919b30f64a2ce6e66a2571b1
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>
include/asm-generic/atomic.h
include/asm-generic/cmpxchg.h
include/asm-generic/system.h