diff options
Diffstat (limited to 'arch/mn10300/include/asm/bitops.h')
-rw-r--r-- | arch/mn10300/include/asm/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/bitops.h b/arch/mn10300/include/asm/bitops.h index 6208ea60458e..3b8a868188f5 100644 --- a/arch/mn10300/include/asm/bitops.h +++ b/arch/mn10300/include/asm/bitops.h | |||
@@ -72,7 +72,7 @@ static inline void __clear_bit(unsigned long nr, volatile void *addr) | |||
72 | */ | 72 | */ |
73 | static inline int test_bit(unsigned long nr, const volatile void *addr) | 73 | static inline int test_bit(unsigned long nr, const volatile void *addr) |
74 | { | 74 | { |
75 | return 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31)); | 75 | return 1UL & (((const volatile unsigned int *) addr)[nr >> 5] >> (nr & 31)); |
76 | } | 76 | } |
77 | 77 | ||
78 | /* | 78 | /* |