From 85d0a4ba7502dfee5164704d76bcff604faee52e Mon Sep 17 00:00:00 2001 From: Xie XiuQi Date: Tue, 12 Feb 2019 18:32:16 +0800 Subject: [PATCH] resctrlfs: fix up RESCTRL dependency hulk inclusion category: bugfix bugzilla: 9286 CVE: NA On x86 platform, make allmodconfig && make -j64 CALL scripts/checksyscalls.sh DESCEND objtool CHK include/generated/compile.h CC fs/resctrlfs.o fs/resctrlfs.c:36:25: fatal error: asm/resctrl.h: No such file or directory #include ^ compilation terminated. make[1]: *** [fs/resctrlfs.o] Error 1 make: *** [fs] Error 2 Make RESCTRL do not depend on INTEL_RDT. Signed-off-by: Xie XiuQi Reviewed-by: Yang Yingliang Signed-off-by: Yang Yingliang --- fs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/Kconfig b/fs/Kconfig index b236f816312f..3fa013a39981 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -319,7 +319,7 @@ endmenu config RESCTRL bool "Support Memory Partitioning and Monitoring" default n - depends on INTEL_RDT || MPAM + depends on MPAM select KERNFS help Memory Partitioning and Monitoring. More exactly Memory system -- GitLab