Skip to content

Commit 59fe5a7

Browse files
committed
x86/intel_rdt: Select KERNFS when enabling INTEL_RDT_A
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c: In function 'rdtgroup_kn_lock_live': arch/x86/kernel/cpu/intel_rdt_rdtgroup.c:658:2: error: implicit declaration of function 'kernfs_break_active_protection' [-Werror=implicit-function-declaration] Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Shaohua Li <shli@fb.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: Tony Luck <tony.luck@intel.com>
1 parent a2584e1 commit 59fe5a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ config INTEL_RDT_A
411411
bool "Intel Resource Director Technology Allocation support"
412412
default n
413413
depends on X86 && CPU_SUP_INTEL
414+
select KERNFS
414415
help
415416
Select to enable resource allocation which is a sub-feature of
416417
Intel Resource Director Technology(RDT). More information about

0 commit comments

Comments
 (0)