aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_pfp.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_pfp.c')
-rw-r--r--litmus/sched_pfp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/litmus/sched_pfp.c b/litmus/sched_pfp.c
index 42d17b0c08fd..3f1fb03f0c35 100644
--- a/litmus/sched_pfp.c
+++ b/litmus/sched_pfp.c
@@ -1621,9 +1621,11 @@ static long pfp_admit_task(struct task_struct* tsk)
1621 1621
1622static long pfp_activate_plugin(void) 1622static long pfp_activate_plugin(void)
1623{ 1623{
1624#ifdef CONFIG_RELEASE_MASTER 1624#if defined(CONFIG_RELEASE_MASTER) || defined(CONFIG_LITMUS_LOCKING)
1625 int cpu; 1625 int cpu;
1626#endif
1626 1627
1628#ifdef CONFIG_RELEASE_MASTER
1627 for_each_online_cpu(cpu) { 1629 for_each_online_cpu(cpu) {
1628 remote_dom(cpu)->release_master = atomic_read(&release_master_cpu); 1630 remote_dom(cpu)->release_master = atomic_read(&release_master_cpu);
1629 } 1631 }