
This reverts commit 89fa7a721d083206a7aa8fcb0d8417c0182c34f1. --- arch/x86/kernel/cpu/resctrl/core.c | 2 -- include/linux/resctrl.h | 1 - 2 files changed, 3 deletions(-) diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl/core.c index a48d3d4327a2..642fd1ec8611 100644 --- a/arch/x86/kernel/cpu/resctrl/core.c +++ b/arch/x86/kernel/cpu/resctrl/core.c @@ -510,8 +510,6 @@ static int get_domain_id_from_scope(int cpu, enum resctrl_scope scope) case RESCTRL_L2_CACHE: case RESCTRL_L3_CACHE: return get_cpu_cacheinfo_id(cpu, scope); - case RESCTRL_L3_NODE: - return cpu_to_node(cpu); default: break; } diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h index 64b6ad1b22a1..aa2c22a8e37b 100644 --- a/include/linux/resctrl.h +++ b/include/linux/resctrl.h @@ -176,7 +176,6 @@ struct resctrl_schema; enum resctrl_scope { RESCTRL_L2_CACHE = 2, RESCTRL_L3_CACHE = 3, - RESCTRL_L3_NODE, }; /** -- 2.25.1