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)
commit9858c60cc2d33b18367b2bc6947e3ea23db26ccb
tree7c16d44461bbecf58257c5b6344f1ed01d137a79
parentd7c4f1b78afeedfc22b1756fcdc1acbe84284d74
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