From: Xie XiuQi <xiexiuqi(a)huawei.com>
commit cc5438495b75be42efd1d46ac7949d49d4d9e8f8 openEuler-1.0
hulk inclusion
category: feature
bugzilla: 5510
CVE: NA
Signed-off-by: Xie XiuQi <xiexiuqi(a)huawei.com>
Reviewed-by: Hanjun Guo <guohanjun(a)huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang(a)huawei.com>
Signed-off-by: Xin Hao <haoxing990(a)gmail.com>
---
arch/arm64/kernel/mpam_mon.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm64/kernel/mpam_mon.c b/arch/arm64/kernel/mpam_mon.c
index d976d8613c2c..4e5f64fda50a 100644
--- a/arch/arm64/kernel/mpam_mon.c
+++ b/arch/arm64/kernel/mpam_mon.c
@@ -87,9 +87,6 @@ void mon_init(void)
}
mon_free_map = BIT_MASK(num_mon) - 1;
-
- /* pmg 0 is always reserved for the default group */
- mon_free_map &= ~1;
}
int alloc_mon(void)
--
2.31.0