aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h2
-rw-r--r--include/litmus/rt_param.h4
-rw-r--r--include/litmus/unistd_32.h2
-rw-r--r--include/litmus/unistd_64.h6
4 files changed, 9 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5d1c041be809..d580959f9f5c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1534,7 +1534,9 @@ struct task_struct {
1534 1534
1535 /*** LITMUS RT parameters and state ***/ 1535 /*** LITMUS RT parameters and state ***/
1536 struct rt_param rt_param; 1536 struct rt_param rt_param;
1537#ifdef CONFIG_REALTIME_AUX_TASKS
1537 struct aux_data aux_data; 1538 struct aux_data aux_data;
1539#endif
1538 /*****/ 1540 /*****/
1539 1541
1540 /* references to PI semaphores, etc. */ 1542 /* references to PI semaphores, etc. */
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index c45ba23d7650..8b9e14c461dc 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -285,7 +285,7 @@ struct rt_param {
285#endif 285#endif
286 286
287 287
288#ifdef CONFIG_LITMUS_LOCKING 288#ifdef CONFIG_REALTIME_AUX_TASKS
289 unsigned int is_aux_task:1; 289 unsigned int is_aux_task:1;
290 unsigned int has_aux_tasks:1; 290 unsigned int has_aux_tasks:1;
291 291
@@ -358,12 +358,14 @@ struct rt_param {
358 struct control_page * ctrl_page; 358 struct control_page * ctrl_page;
359}; 359};
360 360
361#ifdef CONFIG_REALTIME_AUX_TASKS
361struct aux_data 362struct aux_data
362{ 363{
363 struct list_head aux_tasks; 364 struct list_head aux_tasks;
364 struct binheap aux_task_owners; 365 struct binheap aux_task_owners;
365 unsigned int initialized:1; 366 unsigned int initialized:1;
366}; 367};
368#endif
367 369
368/* Possible RT flags */ 370/* Possible RT flags */
369#define RT_F_RUNNING 0x00000000 371#define RT_F_RUNNING 0x00000000
diff --git a/include/litmus/unistd_32.h b/include/litmus/unistd_32.h
index 4fd92956d13f..c86b743408ed 100644
--- a/include/litmus/unistd_32.h
+++ b/include/litmus/unistd_32.h
@@ -21,6 +21,6 @@
21#define __NR_litmus_dgl_unlock __LSC(13) 21#define __NR_litmus_dgl_unlock __LSC(13)
22#define __NR_register_nv_device __LSC(14) 22#define __NR_register_nv_device __LSC(14)
23 23
24#define __NR_slave_non_rt_threads _LSC(15) 24#define __NR_set_aux_tasks _LSC(15)
25 25
26#define NR_litmus_syscalls 16 26#define NR_litmus_syscalls 16
diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h
index abb45c181e8e..3825bc129dbd 100644
--- a/include/litmus/unistd_64.h
+++ b/include/litmus/unistd_64.h
@@ -33,10 +33,10 @@ __SYSCALL(__NR_null_call, sys_null_call)
33__SYSCALL(__NR_litmus_dgl_lock, sys_litmus_dgl_lock) 33__SYSCALL(__NR_litmus_dgl_lock, sys_litmus_dgl_lock)
34#define __NR_litmus_dgl_unlock __LSC(13) 34#define __NR_litmus_dgl_unlock __LSC(13)
35__SYSCALL(__NR_litmus_dgl_unlock, sys_litmus_dgl_unlock) 35__SYSCALL(__NR_litmus_dgl_unlock, sys_litmus_dgl_unlock)
36#define __NR_register_nv_device __LSC(14) 36#define __NR_register_nv_device __LSC(14)
37__SYSCALL(__NR_register_nv_device, sys_register_nv_device) 37__SYSCALL(__NR_register_nv_device, sys_register_nv_device)
38 38
39#define __NR_slave_non_rt_threads __LSC(15) 39#define __NR_set_aux_tasks __LSC(15)
40__SYSCALL(__NR_slave_non_rt_threads, sys_slave_non_rt_threads) 40__SYSCALL(__NR_set_aux_tasks, sys_set_aux_tasks)
41 41
42#define NR_litmus_syscalls 16 42#define NR_litmus_syscalls 16