summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp04
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-20 01:01:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-20 01:01:34 +0000
commitac970794a49f9e2f4e9ae23e27ceaa855e343617 (patch)
tree7f33c47a8010ff1afb96a1a57869abe8041b7710 /testsuites/sptests/sp04
parentRegenerate. (diff)
downloadrtems-ac970794a49f9e2f4e9ae23e27ceaa855e343617.tar.bz2
2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/init.c: To be timesliced, tasks must also me preemptible.
Diffstat (limited to 'testsuites/sptests/sp04')
-rw-r--r--testsuites/sptests/sp04/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/sp04/init.c b/testsuites/sptests/sp04/init.c
index 4c638f33f9..54c1b61e4c 100644
--- a/testsuites/sptests/sp04/init.c
+++ b/testsuites/sptests/sp04/init.c
@@ -69,7 +69,7 @@ rtems_task Init(
Task_name[ 1 ],
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
- RTEMS_TIMESLICE,
+ RTEMS_PREEMPT|RTEMS_TIMESLICE,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ 1 ]
);
@@ -79,7 +79,7 @@ rtems_task Init(
Task_name[ 2 ],
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
- RTEMS_TIMESLICE,
+ RTEMS_PREEMPT|RTEMS_TIMESLICE,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ 2 ]
);
@@ -89,7 +89,7 @@ rtems_task Init(
Task_name[ 3 ],
1,
RTEMS_MINIMUM_STACK_SIZE * 2,
- RTEMS_TIMESLICE,
+ RTEMS_PREEMPT|RTEMS_TIMESLICE,
RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[ 3 ]
);