diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-06-25 00:22:06 -0400 |
|---|---|---|
| committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2014-10-21 10:00:47 -0400 |
| commit | 0014dd7899cb1e7109516d70c6db29223b3bdbdd (patch) | |
| tree | 3473dbd136fbb03ff4e420c82629544ae5569b1a /include/linux | |
| parent | 39587f773d6b64c8f7ab82d7e222de45899cb36f (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 597c8ab005a0..164bb0dbb663 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; |
| @@ -1369,6 +1371,9 @@ struct task_struct { | |||
| 1369 | int nr_dirtied_pause; | 1371 | int nr_dirtied_pause; |
| 1370 | unsigned long dirty_paused_when; /* start of a write-and-pause period */ | 1372 | unsigned long dirty_paused_when; /* start of a write-and-pause period */ |
| 1371 | 1373 | ||
| 1374 | /* LITMUS RT parameters and state */ | ||
| 1375 | struct rt_param rt_param; | ||
| 1376 | |||
| 1372 | #ifdef CONFIG_LATENCYTOP | 1377 | #ifdef CONFIG_LATENCYTOP |
| 1373 | int latency_record_count; | 1378 | int latency_record_count; |
| 1374 | struct latency_record latency_record[LT_SAVECOUNT]; | 1379 | struct latency_record latency_record[LT_SAVECOUNT]; |
