forked from Imagelibrary/rtems
validation: Simplify partition performance test
Do not depend on <rtems/chain.h>. Update #3716.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user