]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe4c570a7dcf9ce8d5cb490525292bf4e44bd90b
tree9383737887787553bf90d42ee6886b59d80a52d8
parent205f6c1cf55b53aa35aee8c48f91aaf725bd8179
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