diff options
| -rw-r--r-- | arch/x86/kernel/cpu/resctrl/monitor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/resctrl/monitor.c b/arch/x86/kernel/cpu/resctrl/monitor.c index 1573a0a6b525..ff6e8e561405 100644 --- a/arch/x86/kernel/cpu/resctrl/monitor.c +++ b/arch/x86/kernel/cpu/resctrl/monitor.c | |||
| @@ -368,6 +368,9 @@ static void update_mba_bw(struct rdtgroup *rgrp, struct rdt_domain *dom_mbm) | |||
| 368 | struct list_head *head; | 368 | struct list_head *head; |
| 369 | struct rdtgroup *entry; | 369 | struct rdtgroup *entry; |
| 370 | 370 | ||
| 371 | if (!is_mbm_local_enabled()) | ||
| 372 | return; | ||
| 373 | |||
| 371 | r_mba = &rdt_resources_all[RDT_RESOURCE_MBA]; | 374 | r_mba = &rdt_resources_all[RDT_RESOURCE_MBA]; |
| 372 | closid = rgrp->closid; | 375 | closid = rgrp->closid; |
| 373 | rmid = rgrp->mon.rmid; | 376 | rmid = rgrp->mon.rmid; |
