From 48c8d8078793746c0d6d05bbbd287289a8f22eab Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Thu, 4 Jan 2018 14:28:10 -0700 Subject: 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 --- include/linux/sched/sysctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') 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; -- cgit v1.2.3