aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_gsn_edf.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_gsn_edf.c')
-rw-r--r--litmus/sched_gsn_edf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c
index 886bd14f677c..4589888fc652 100644
--- a/litmus/sched_gsn_edf.c
+++ b/litmus/sched_gsn_edf.c
@@ -1771,13 +1771,13 @@ UNSUPPORTED_LOCK:
1771 1771
1772 1772
1773#ifdef CONFIG_LITMUS_AFFINITY_LOCKING 1773#ifdef CONFIG_LITMUS_AFFINITY_LOCKING
1774static struct affinity_observer_ops gsnedf_kfmlp_affinity_ops = { 1774static struct affinity_observer_ops gsnedf_kfmlp_affinity_ops __attribute__ ((unused)) = {
1775 .close = kfmlp_aff_obs_close, 1775 .close = kfmlp_aff_obs_close,
1776 .deallocate = kfmlp_aff_obs_free, 1776 .deallocate = kfmlp_aff_obs_free,
1777}; 1777};
1778 1778
1779#ifdef CONFIG_LITMUS_NESTED_LOCKING 1779#ifdef CONFIG_LITMUS_NESTED_LOCKING
1780static struct affinity_observer_ops gsnedf_ikglp_affinity_ops = { 1780static struct affinity_observer_ops gsnedf_ikglp_affinity_ops __attribute__ ((unused)) = {
1781 .close = ikglp_aff_obs_close, 1781 .close = ikglp_aff_obs_close,
1782 .deallocate = ikglp_aff_obs_free, 1782 .deallocate = ikglp_aff_obs_free,
1783}; 1783};
@@ -1791,7 +1791,7 @@ static long gsnedf_allocate_affinity_observer(
1791 int err; 1791 int err;
1792 1792
1793 switch (type) { 1793 switch (type) {
1794 1794#ifdef CONFIG_LITMUS_NVIDIA
1795 case KFMLP_SIMPLE_GPU_AFF_OBS: 1795 case KFMLP_SIMPLE_GPU_AFF_OBS:
1796 *aff_obs = kfmlp_simple_gpu_aff_obs_new(&gsnedf_kfmlp_affinity_ops, args); 1796 *aff_obs = kfmlp_simple_gpu_aff_obs_new(&gsnedf_kfmlp_affinity_ops, args);
1797 break; 1797 break;
@@ -1809,6 +1809,7 @@ static long gsnedf_allocate_affinity_observer(
1809 *aff_obs = ikglp_gpu_aff_obs_new(&gsnedf_ikglp_affinity_ops, args); 1809 *aff_obs = ikglp_gpu_aff_obs_new(&gsnedf_ikglp_affinity_ops, args);
1810 break; 1810 break;
1811#endif 1811#endif
1812#endif
1812 default: 1813 default:
1813 err = -ENXIO; 1814 err = -ENXIO;
1814 goto UNSUPPORTED_AFF_OBS; 1815 goto UNSUPPORTED_AFF_OBS;