Skip to content

Commit

Permalink
ARM: 6213/1: atomic64_test: add ARM as supported architecture
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
wildea01 authored and Russell King committed Jul 27, 2010
1 parent 4708ac4 commit c58bbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/atomic64_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c58bbd3

Please sign in to comment.