[rtems commit] sptests/sp59: Change allocation size

Sebastian Huber sebh at rtems.org
Tue Jun 25 15:01:51 UTC 2013


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jun 25 14:59:45 2013 +0200

sptests/sp59: Change allocation size

This avoids problems with debugging enabled.

---

 testsuites/sptests/sp59/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testsuites/sptests/sp59/init.c b/testsuites/sptests/sp59/init.c
index d03c836..3ee19a6 100644
--- a/testsuites/sptests/sp59/init.c
+++ b/testsuites/sptests/sp59/init.c
@@ -17,8 +17,8 @@
 rtems_task Init(rtems_task_argument argument);
 rtems_task Blocking_task(rtems_task_argument ignored);
 
-#define ALLOC_SIZE 400
 uint8_t Region_Memory[512] CPU_STRUCTURE_ALIGNMENT;
+#define ALLOC_SIZE ( sizeof( Region_Memory ) / 2 )
 rtems_id Region;
 
 rtems_task Blocking_task(




More information about the vc mailing list