aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index eb0d17e298d7..9254f1621af7 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -1,4 +1,6 @@
1/* litmus.c -- Implementation of the LITMUS syscalls, the LITMUS intialization code, 1/*
2 * litmus.c -- Implementation of the LITMUS syscalls,
3 * the LITMUS intialization code,
2 * and the procfs interface.. 4 * and the procfs interface..
3 */ 5 */
4#include <asm/uaccess.h> 6#include <asm/uaccess.h>
@@ -438,10 +440,10 @@ static struct sysrq_key_op sysrq_kill_rt_tasks_op = {
438 .help_msg = "quit-rt-tasks(X)", 440 .help_msg = "quit-rt-tasks(X)",
439 .action_msg = "sent SIGKILL to all LITMUS^RT real-time tasks", 441 .action_msg = "sent SIGKILL to all LITMUS^RT real-time tasks",
440}; 442};
441
442
443#endif 443#endif
444 444
445/* in litmus/sync.c */
446int count_tasks_waiting_for_release(void);
445 447
446static int proc_read_stats(char *page, char **start, 448static int proc_read_stats(char *page, char **start,
447 off_t off, int count, 449 off_t off, int count,
@@ -453,7 +455,7 @@ static int proc_read_stats(char *page, char **start,
453 "real-time tasks = %d\n" 455 "real-time tasks = %d\n"
454 "ready for release = %d\n", 456 "ready for release = %d\n",
455 atomic_read(&rt_task_count), 457 atomic_read(&rt_task_count),
456 0); 458 count_tasks_waiting_for_release());
457 return len; 459 return len;
458} 460}
459 461