[PATCH OLK-6.6] interference: Fix compilation issue

hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/ICAOAT -------------------------------- kernel test robot reported the following compilation error: drivers/base/arch_topology.c:811:2: error: implicit declaration of function 'cgroup_ifs_set_smt' [-Werror=implicit-function-declaration] Let's fix it by adding cgroup_ifs_set_smt related header file. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202505282112.qVJOB1Zd-lkp@intel.com/ Fixes: edff31302c6d ("interference: Add smt interference track support") Signed-off-by: Pu Lehui <pulehui@huawei.com> --- drivers/base/arch_topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/arch_topology.c b/drivers/base/arch_topology.c index a26169094712..b776ba4127db 100644 --- a/drivers/base/arch_topology.c +++ b/drivers/base/arch_topology.c @@ -15,6 +15,7 @@ #include <linux/of.h> #include <linux/slab.h> #include <linux/sched/topology.h> +#include <linux/cgroup.h> #include <linux/cpuset.h> #include <linux/cpumask.h> #include <linux/init.h> -- 2.34.1

反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/16520 邮件列表地址:https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/TLT... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/16520 Mailing list address: https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/message/TLT...
participants (2)
-
patchwork bot
-
Pu Lehui