validation: Simplify partition performance test

Do not depend on <rtems/chain.h>.

Update #3716.
This commit is contained in:
Sebastian Huber
2023-09-26 08:26:05 +02:00
parent a986262380
commit 3fa6e41c4c

View File

@@ -53,7 +53,6 @@
#endif #endif
#include <rtems.h> #include <rtems.h>
#include <rtems/chain.h>
#include <rtems/test.h> #include <rtems/test.h>
@@ -143,7 +142,7 @@ static void RtemsPartValPerf_Setup( RtemsPartValPerf_Context *ctx )
void *area; void *area;
uintptr_t length; uintptr_t length;
size = sizeof( rtems_chain_node ); size = 2 * sizeof( uintptr_t );
area = T_malloc( size ); area = T_malloc( size );
sc = rtems_partition_create( sc = rtems_partition_create(