mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
ARM: 6213/1: atomic64_test: add ARM as supported architecture
ARM has support for the atomic64_dec_if_positive operation so ensure that it is tested by the atomic64_test routine. Acked-by: Nicolas Pitre <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
1 parent
4708ac4930
commit
c58bbd39f8
1 file changed
+1
-1
+1
-1
@@ -114,7 +114,7 @@ static __init int test_atomic64(void)
|
||||
BUG_ON(v.counter != r);
|
||||
|
||||
#if defined(CONFIG_X86) || defined(CONFIG_MIPS) || defined(CONFIG_PPC) || \
|
||||
defined(CONFIG_S390) || defined(_ASM_GENERIC_ATOMIC64_H)
|
||||
defined(CONFIG_S390) || defined(_ASM_GENERIC_ATOMIC64_H) || defined(CONFIG_ARM)
|
||||
INIT(onestwos);
|
||||
BUG_ON(atomic64_dec_if_positive(&v) != (onestwos - 1));
|
||||
r -= one;
|
||||
|
||||
Reference in new issue
Block a user