From 44123a1a3076503bef7666ffc3fdcb3f8e68e8da Mon Sep 17 00:00:00 2001 From: Bryan Ward Date: Sun, 12 Aug 2012 16:35:36 -0400 Subject: DGLock and DGUnlock implementation. These methods haven't been fully tested, but they compile and pass a few simple tests. --- include/linux/sched.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux') diff --git a/include/linux/sched.h b/include/linux/sched.h index 9c990d13ae35..2b094bdaafa3 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -96,6 +96,7 @@ struct sched_param { #include #include +#include struct exec_domain; struct futex_pi_state; @@ -1538,6 +1539,8 @@ struct task_struct { /* references to PI semaphores, etc. */ struct od_table_entry *od_table; + resource_mask_t resources; + #ifdef CONFIG_LATENCYTOP int latency_record_count; struct latency_record latency_record[LT_SAVECOUNT]; -- cgit v1.2.2