diff options
author | Andi Kleen <andi@firstfloor.org> | 2021-04-25 14:12:29 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-05-05 21:50:14 +0200 |
commit | 4029b9706d53e5e8db2e1cee6ecd75e60b62cd09 (patch) | |
tree | 5a6a007040df5fc1ff73aaaa8d14bd6474942fa2 /arch | |
parent | 790d1ce71de9199bf9fd37c4743aec4a09489a51 (diff) | |
download | linux-4029b9706d53e5e8db2e1cee6ecd75e60b62cd09.tar.bz2 |
x86/resctrl: Fix init const confusion
const variable must be initconst, not initdata.
Signed-off-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210425211229.3157674-1-ak@linux.intel.com
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/resctrl/monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/resctrl/monitor.c b/arch/x86/kernel/cpu/resctrl/monitor.c index dbeaa8409313..f07c10b87a87 100644 --- a/arch/x86/kernel/cpu/resctrl/monitor.c +++ b/arch/x86/kernel/cpu/resctrl/monitor.c @@ -84,7 +84,7 @@ unsigned int resctrl_cqm_threshold; static const struct mbm_correction_factor_table { u32 rmidthreshold; u64 cf; -} mbm_cf_table[] __initdata = { +} mbm_cf_table[] __initconst = { {7, CF(1.000000)}, {15, CF(1.000000)}, {15, CF(0.969650)}, |