mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
validation: Simplify partition performance test
Do not depend on <rtems/chain.h>. Update #3716.
This commit is contained in:
1 parent
a986262380
commit
3fa6e41c4c
1 file changed
+1
-2
@@ -53,7 +53,6 @@
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/chain.h>
|
||||
|
||||
#include <rtems/test.h>
|
||||
|
||||
@@ -143,7 +142,7 @@ static void RtemsPartValPerf_Setup( RtemsPartValPerf_Context *ctx )
|
||||
void *area;
|
||||
uintptr_t length;
|
||||
|
||||
size = sizeof( rtems_chain_node );
|
||||
size = 2 * sizeof( uintptr_t );
|
||||
|
||||
area = T_malloc( size );
|
||||
sc = rtems_partition_create(
|
||||
|
||||
Reference in new issue
Block a user