MN10300: Don't cast away the volatile in test_bit()
authorAkira Takeuchi <takeuchi.akr@jp.panasonic.com>
Wed, 27 Oct 2010 16:28:36 +0000 (17:28 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 27 Oct 2010 16:28:36 +0000 (17:28 +0100)
commit3195d0b564c4aa3f8ff13b536e3c09a9ffed8f12
treec5e79b38462d87b690c563b063963e37a550281d
parent3a5f65df5a0fcbaa35e5417c0420d691fee4ac56
MN10300: Don't cast away the volatile in test_bit()

Don't cast away the volatile in test_bit()'s parameter when we change its type
from const volatile void * so that we can dereference it.

Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: Kiyoshi Owada <owada.kiyoshi@jp.panasonic.com>
Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/include/asm/bitops.h