From: Johnlay Park Date: Fri, 23 Mar 2018 07:44:04 +0000 (+0900) Subject: [COMMON] sched: sysctl: match the variable type X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=422cafbdc57894b4f54f6e35174a2748fed4ce9f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] sched: sysctl: match the variable type for fixing the build error on clang Change-Id: I396d4f622018fcf2bd601b7c8405640896943493 Signed-off-by: Johnlay Park --- diff --git a/include/linux/sched/sysctl.h b/include/linux/sched/sysctl.h index e076ff8179b2..5736801c209b 100644 --- a/include/linux/sched/sysctl.h +++ b/include/linux/sched/sysctl.h @@ -46,9 +46,11 @@ extern unsigned int sysctl_numa_balancing_scan_period_max; extern unsigned int sysctl_numa_balancing_scan_size; #ifdef CONFIG_SCHED_DEBUG -extern unsigned int sysctl_sched_migration_cost; -extern unsigned int sysctl_sched_nr_migrate; -extern unsigned int sysctl_sched_time_avg; +# include + +extern __read_mostly unsigned int sysctl_sched_migration_cost; +extern __read_mostly unsigned int sysctl_sched_nr_migrate; +extern __read_mostly unsigned int sysctl_sched_time_avg; int sched_proc_update_handler(struct ctl_table *table, int write, void __user *buffer, size_t *length,