aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/sched_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/sched_plugin.h')
-rw-r--r--include/litmus/sched_plugin.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/litmus/sched_plugin.h b/include/litmus/sched_plugin.h
index 27b719aebed9..8a3ed6d19a3c 100644
--- a/include/litmus/sched_plugin.h
+++ b/include/litmus/sched_plugin.h
@@ -105,23 +105,6 @@ int register_sched_plugin(struct sched_plugin* plugin);
105struct sched_plugin* find_sched_plugin(const char* name); 105struct sched_plugin* find_sched_plugin(const char* name);
106int print_sched_plugins(char* buf, int max); 106int print_sched_plugins(char* buf, int max);
107 107
108static inline int srp_active(void)
109{
110#ifdef CONFIG_SRP
111 return litmus->srp_active;
112#else
113 return 0;
114#endif
115}
116static inline int fmlp_active(void)
117{
118#ifdef CONFIG_FMLP
119 return litmus->fmlp_active;
120#else
121 return 0;
122#endif
123}
124
125extern struct sched_plugin linux_sched_plugin; 108extern struct sched_plugin linux_sched_plugin;
126 109
127#endif 110#endif