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
This commit is contained in:
parent
790d1ce71d
commit
4029b9706d
|
@ -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)},
|
||||
|
|
Loading…
Reference in New Issue