diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-08-01 09:14:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-08-01 09:15:36 +0200 |
commit | 4d77f725ca6517545397dc69152978d3c99218ae (patch) | |
tree | 27685a6bce4cb7081b36518d9bae465fbd60b8a2 | |
parent | cpukit/libdl/rtl-sym.c: Fix increment of variable (diff) | |
download | rtems-4d77f725ca6517545397dc69152978d3c99218ae.tar.bz2 |
sp54: Fix test case
Since commit 6a6580331df3e09516d50f37d4dd5fd57825c08a, the local table is
zero-initialized. Use an initial object control block instead.
Update #4678.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/sp54/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp54/init.c b/testsuites/sptests/sp54/init.c index 9ec98e19e0..172eb2b1b0 100644 --- a/testsuites/sptests/sp54/init.c +++ b/testsuites/sptests/sp54/init.c @@ -88,7 +88,7 @@ static void check_dirty_memory( void ) rtems_test_assert( p != NULL ); rtems_test_assert( *p == 0xcf ); - p = (unsigned char *) _Thread_Information.Objects.local_table; + p = (unsigned char *) _Thread_Information.Objects.initial_objects; rtems_test_assert( *p == 0xcf ); } @@ -106,7 +106,7 @@ static void check_zero_workspace_automatically( void ) rtems_test_assert( p != NULL ); rtems_test_assert( *p == 0 ); - p = (unsigned char *) _Thread_Information.Objects.local_table; + p = (unsigned char *) _Thread_Information.Objects.initial_objects; rtems_test_assert( *p == 0 ); } |