diff options
author | Rickard Green <[email protected]> | 2015-12-28 15:24:56 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-12-30 10:51:49 +0100 |
commit | 1a5aaef553493a873f2bf839119670febd4570e7 (patch) | |
tree | 50bb0d67dd8d4e7dabd415025b95d3e8af3251cb /erts/test/ethread_SUITE_data/ethread_tests.c | |
parent | a23ef6e1e6e7cbce65912953ca789ac3f758952f (diff) | |
download | otp-1a5aaef553493a873f2bf839119670febd4570e7.tar.gz otp-1a5aaef553493a873f2bf839119670febd4570e7.tar.bz2 otp-1a5aaef553493a873f2bf839119670febd4570e7.zip |
Fix stack alignment problem in ethread test on arm
Diffstat (limited to 'erts/test/ethread_SUITE_data/ethread_tests.c')
-rw-r--r-- | erts/test/ethread_SUITE_data/ethread_tests.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/test/ethread_SUITE_data/ethread_tests.c b/erts/test/ethread_SUITE_data/ethread_tests.c index 12f7f3db7a..b51771c736 100644 --- a/erts/test/ethread_SUITE_data/ethread_tests.c +++ b/erts/test/ethread_SUITE_data/ethread_tests.c @@ -1457,6 +1457,9 @@ do { \ ASSERT(ethr_ ## A ## _read ## B(&A) == 0x33333333); \ } while (0) +ethr_atomic32_t atomic32; +ethr_atomic_t atomic; +ethr_dw_atomic_t dw_atomic; static void atomic_basic_test(void) @@ -1465,8 +1468,6 @@ atomic_basic_test(void) * Verify that each op does what it is expected * to do for at least one input. */ - ethr_atomic32_t atomic32; - ethr_atomic_t atomic; print_line("AT_AINT32_MAX=%d",AT_AINT32_MAX); print_line("AT_AINT32_MIN=%d",AT_AINT32_MIN); @@ -1629,7 +1630,6 @@ atomic_basic_test(void) /* Double word */ { - ethr_dw_atomic_t dw_atomic; ethr_dw_sint_t dw0, dw1; dw0.sint[0] = 4711; dw0.sint[1] = 4712; |