From 16bd98f3efcbde0c48944e81a35270008edcd953 Mon Sep 17 00:00:00 2001 From: Bjoern Brandenburg Date: Tue, 25 Jun 2013 06:22:06 +0200 Subject: Extend task_struct with rt_param This patch adds the PCB extensions required for LITMUS^RT. --- include/linux/sched.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/linux') 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 { #include +#include + struct exec_domain; struct futex_pi_state; struct robust_list_head; @@ -1365,6 +1367,9 @@ struct task_struct { int nr_dirtied_pause; unsigned long dirty_paused_when; /* start of a write-and-pause period */ + /* LITMUS RT parameters and state */ + struct rt_param rt_param; + #ifdef CONFIG_LATENCYTOP int latency_record_count; struct latency_record latency_record[LT_SAVECOUNT]; -- cgit v1.2.2