summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tc-part-performance.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-09-26 08:26:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-09-26 09:40:10 +0200
commit3fa6e41c4c01fca2cefcfcd22ad48dd8184f70fc (patch)
tree448fcd46a3f870ffe7cd1eb88b337396e7271c54 /testsuites/validation/tc-part-performance.c
parentvalidation: Check stack of interrupted context (diff)
downloadrtems-3fa6e41c4c01fca2cefcfcd22ad48dd8184f70fc.tar.bz2
validation: Simplify partition performance test
Do not depend on <rtems/chain.h>. Update #3716.
Diffstat (limited to '')
-rw-r--r--testsuites/validation/tc-part-performance.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuites/validation/tc-part-performance.c b/testsuites/validation/tc-part-performance.c
index 5a5c4841db..858dbc0b4b 100644
--- a/testsuites/validation/tc-part-performance.c
+++ b/testsuites/validation/tc-part-performance.c
@@ -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(