]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic: make bitops.h usable
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 May 2009 22:56:32 +0000 (22:56 +0000)
committerArnd Bergmann <arnd@klappe2.(none)>
Thu, 11 Jun 2009 19:02:31 +0000 (21:02 +0200)
commitfe32204af2928bb6035140fa9766cf71a0d4f20c
tree7c16d44461bbecf58257c5b6344f1ed01d137a79
parent98db7f2e58ba9949eade66cf33c2399bb0d0397d
asm-generic: make bitops.h usable

bitops.h apparently suffered from some level of bitrot, it
was missing the smp_mb__{before,after}_clear_bit functions,
and included other headers in an invalid order.

This changes the file so that new architectures can use
it out of the box.

Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/bitops.h