Messages in this thread Patch in this message | | | Date | Wed, 19 Aug 2020 12:33:11 -0000 | From | "tip-bot2 for James Morse" <> | Subject | [tip: x86/cache] x86/resctrl: Include pid.h |
| |
The following commit has been merged into the x86/cache branch of tip:
Commit-ID: a21a4391f20c0ab45db452e22bc3e8afe8b36e46 Gitweb: https://git.kernel.org/tip/a21a4391f20c0ab45db452e22bc3e8afe8b36e46 Author: James Morse <james.morse@arm.com> AuthorDate: Wed, 08 Jul 2020 16:39:24 Committer: Borislav Petkov <bp@suse.de> CommitterDate: Tue, 18 Aug 2020 17:06:15 +02:00
x86/resctrl: Include pid.h
We are about to disturb the header soup. This header uses struct pid and struct pid_namespace. Include their header.
Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://lkml.kernel.org/r/20200708163929.2783-6-james.morse@arm.com --- include/linux/resctrl.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h index daf5cf6..9b05af9 100644 --- a/include/linux/resctrl.h +++ b/include/linux/resctrl.h @@ -2,6 +2,8 @@ #ifndef _RESCTRL_H #define _RESCTRL_H +#include <linux/pid.h> + #ifdef CONFIG_PROC_CPU_RESCTRL int proc_resctrl_show(struct seq_file *m,
| |