]> 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)
commit714aadf8dfc48a0ab272101b3b22945fd1a62e85
tree9383737887787553bf90d42ee6886b59d80a52d8
parent8383938035d23139394770494874280a5d954e7f
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