summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-01-04 14:28:10 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-02-02 01:40:54 +0200
commit48c8d8078793746c0d6d05bbbd287289a8f22eab (patch)
treed533a8811faddb28fd8e172345eca197f14bd102 /include/linux
parentad876c0c84ee7d4c6c7c272c7643c4fa2e7c71f9 (diff)
sched/sysctl: Fix one more attribute on extern declaration
../kernel/sched/sched.h:1154:36: warning: section attribute is specified on redeclared variable [-Wsection] Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched/sysctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h
index a4ac815d0ea8..f63ff97d246b 100644
--- a/include/linux/sched/sysctl.h
+++ b/include/linux/sched/sysctl.h
@@ -58,7 +58,7 @@ extern unsigned int sysctl_sched_window_stats_policy;
extern unsigned int sysctl_sched_ravg_hist_size;
extern unsigned int sysctl_sched_cpu_high_irqload;
extern unsigned int sysctl_sched_init_task_load_pct;
-extern unsigned int sysctl_sched_spill_nr_run;
+extern __read_mostly unsigned int sysctl_sched_spill_nr_run;
extern unsigned int sysctl_sched_spill_load_pct;
extern unsigned int sysctl_sched_upmigrate_pct;
extern unsigned int sysctl_sched_downmigrate_pct;