diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-06-25 00:22:06 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-08-07 03:46:43 -0400 |
commit | 16bd98f3efcbde0c48944e81a35270008edcd953 (patch) | |
tree | 10917c613ab95662c0f71fd8b8d700c0ed9b84b3 /include/linux | |
parent | 25d4d1addba5f45d534682cc446e3157500d873e (diff) |
Extend task_struct with rt_param
This patch adds the PCB extensions required for LITMUS^RT.
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/sched.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 178a8d909f14..0e29a7a79c7e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -55,6 +55,8 @@ struct sched_param { | |||
55 | 55 | ||
56 | #include <asm/processor.h> | 56 | #include <asm/processor.h> |
57 | 57 | ||
58 | #include <litmus/rt_param.h> | ||
59 | |||
58 | struct exec_domain; | 60 | struct exec_domain; |
59 | struct futex_pi_state; | 61 | struct futex_pi_state; |
60 | struct robust_list_head; | 62 | struct robust_list_head; |
@@ -1365,6 +1367,9 @@ struct task_struct { | |||
1365 | int nr_dirtied_pause; | 1367 | int nr_dirtied_pause; |
1366 | unsigned long dirty_paused_when; /* start of a write-and-pause period */ | 1368 | unsigned long dirty_paused_when; /* start of a write-and-pause period */ |
1367 | 1369 | ||
1370 | /* LITMUS RT parameters and state */ | ||
1371 | struct rt_param rt_param; | ||
1372 | |||
1368 | #ifdef CONFIG_LATENCYTOP | 1373 | #ifdef CONFIG_LATENCYTOP |
1369 | int latency_record_count; | 1374 | int latency_record_count; |
1370 | struct latency_record latency_record[LT_SAVECOUNT]; | 1375 | struct latency_record latency_record[LT_SAVECOUNT]; |