projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
790d1ce
)
x86/resctrl: Fix init const confusion
author
Andi Kleen
<andi@firstfloor.org>
Sun, 25 Apr 2021 21:12:29 +0000
(14:12 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 5 May 2021 19:50:14 +0000
(21:50 +0200)
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
arch/x86/kernel/cpu/resctrl/monitor.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/resctrl/monitor.c
b/arch/x86/kernel/cpu/resctrl/monitor.c
index dbeaa8409313492396bbe9a1dbf0f67c0b4de4d0..f07c10b87a8732e0767c4261525911ea795f183c 100644
(file)
--- 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[] __init
data
= {
+} mbm_cf_table[] __init
const
= {
{7, CF(1.000000)},
{15, CF(1.000000)},
{15, CF(0.969650)},