[rtems commit] validation: Simplify partition performance test

Sebastian Huber sebh at rtems.org
Tue Sep 26 07:30:16 UTC 2023


Module:    rtems
Branch:    master
Commit:    3fa6e41c4c01fca2cefcfcd22ad48dd8184f70fc
Changeset: http://git.rtems.org/rtems/commit/?id=3fa6e41c4c01fca2cefcfcd22ad48dd8184f70fc

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Sep 26 08:26:05 2023 +0200

validation: Simplify partition performance test

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

Update #3716.

---

 testsuites/validation/tc-part-performance.c | 3 +--
 1 file changed, 1 insertion(+), 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(



More information about the vc mailing list