forked from luck/tmp_suning_uos_patched
a21a4391f2
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
17 lines
302 B
C
17 lines
302 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _RESCTRL_H
|
|
#define _RESCTRL_H
|
|
|
|
#include <linux/pid.h>
|
|
|
|
#ifdef CONFIG_PROC_CPU_RESCTRL
|
|
|
|
int proc_resctrl_show(struct seq_file *m,
|
|
struct pid_namespace *ns,
|
|
struct pid *pid,
|
|
struct task_struct *tsk);
|
|
|
|
#endif
|
|
|
|
#endif /* _RESCTRL_H */
|