summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-03-18 12:44:32 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-04-03 10:48:58 -0500
commitaf53e6cffa7c9951cd21e5b5bc4f68f4294b83c0 (patch)
tree9d1b9007938c119101e2cd22486d10084b612928
parentd4e1ead87d36585fa1b9a17f0c684c085450d930 (diff)
downloadrtems-af53e6cffa7c9951cd21e5b5bc4f68f4294b83c0.tar.bz2
smpaffinity01: Use Priority Affinity SMP scheduler.
-rw-r--r--testsuites/smptests/smpaffinity01/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/smptests/smpaffinity01/init.c b/testsuites/smptests/smpaffinity01/init.c
index 7e9ef53b1d..cc5f32130e 100644
--- a/testsuites/smptests/smpaffinity01/init.c
+++ b/testsuites/smptests/smpaffinity01/init.c
@@ -104,7 +104,6 @@ void Validate_affinity(void )
rtems_task_priority priority;
char ch[2];
-
puts( "Init - Set Init priority to high");
sc = rtems_task_set_priority( Init_id, 1, &priority );
directive_failed( sc, "Set Init Priority" );
@@ -240,6 +239,8 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_SMP_APPLICATION
+#define CONFIGURE_SCHEDULER_PRIORITY_AFFINITY_SMP
+
#define CONFIGURE_SMP_MAXIMUM_PROCESSORS NUM_CPUS
#define CONFIGURE_MAXIMUM_TASKS (NUM_CPUS*2)