From 21d8578bd08bc5d0e22764c44cb8e5f06a2a13be Mon Sep 17 00:00:00 2001 From: Xie XiuQi Date: Tue, 29 Jan 2019 17:38:10 +0800 Subject: [PATCH] sched.h: depend on resctl & intel_rdt hulk inclusion category: feature bugzilla: 5510 CVE: NA Signed-off-by: Xie XiuQi Reviewed-by: Hanjun Guo Signed-off-by: Yang Yingliang --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 0b25edc8ee8d..fd1be976bf4b 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -985,7 +985,7 @@ struct task_struct { /* cg_list protected by css_set_lock and tsk->alloc_lock: */ struct list_head cg_list; #endif -#ifdef CONFIG_RESCTRL +#if defined(CONFIG_RESCTRL) || defined(CONFIG_INTEL_RDT) u32 closid; u32 rmid; #endif -- GitLab