smpaffinity01: Use Priority Affinity SMP scheduler.

This commit is contained in:
Jennifer Averett
2014-03-18 12:44:32 -05:00
parent d4e1ead87d
commit af53e6cffa

View File

@@ -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)