diff options
Diffstat (limited to 'include/litmus/sched_plugin.h')
-rw-r--r-- | include/litmus/sched_plugin.h | 17 |
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); | |||
105 | struct sched_plugin* find_sched_plugin(const char* name); | 105 | struct sched_plugin* find_sched_plugin(const char* name); |
106 | int print_sched_plugins(char* buf, int max); | 106 | int print_sched_plugins(char* buf, int max); |
107 | 107 | ||
108 | static inline int srp_active(void) | ||
109 | { | ||
110 | #ifdef CONFIG_SRP | ||
111 | return litmus->srp_active; | ||
112 | #else | ||
113 | return 0; | ||
114 | #endif | ||
115 | } | ||
116 | static inline int fmlp_active(void) | ||
117 | { | ||
118 | #ifdef CONFIG_FMLP | ||
119 | return litmus->fmlp_active; | ||
120 | #else | ||
121 | return 0; | ||
122 | #endif | ||
123 | } | ||
124 | |||
125 | extern struct sched_plugin linux_sched_plugin; | 108 | extern struct sched_plugin linux_sched_plugin; |
126 | 109 | ||
127 | #endif | 110 | #endif |