[PATCH 10/10] smpaffinity01: Use Priority Affinity SMP scheduler.
Jennifer
jennifer.averett at oarcorp.com
Mon Mar 24 18:39:41 UTC 2014
From: Jennifer Averett <jennifer.averett at oarcorp.com>
---
testsuites/smptests/smpaffinity01/init.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testsuites/smptests/smpaffinity01/init.c b/testsuites/smptests/smpaffinity01/init.c
index 7e9ef53..cc5f321 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)
--
1.8.1.4
More information about the devel
mailing list