asm-generic/atomic.h: allow SMP peeps to leverage this
authorMike Frysinger <vapier@gentoo.org>
Tue, 26 Jul 2011 23:09:11 +0000 (16:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:48 +0000 (16:49 -0700)
commit7505cb60c2d26301630b052852d484decf07aef1
tree9383737887787553bf90d42ee6886b59d80a52d8
parent00b3c28bd753afb46fb26b2f9e21dd27dacd80d4
asm-generic/atomic.h: allow SMP peeps to leverage this

Only a few core funcs need to be implemented for SMP systems, so allow the
arches to override them while getting the rest for free.

At least, this is enough to allow the Blackfin SMP port to use things.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Arun Sharma <asharma@fb.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/atomic.h