From a1b7963bc1f05de1b9635231c6a18507e1c8ea42 Mon Sep 17 00:00:00 2001 From: Satya Durga Srinivasu Prabhala Date: Fri, 13 Mar 2020 13:19:35 -0700 Subject: [PATCH] sched: remove weak keyword from function declarations Using weak keyword in function declarations with CFI may lead to undesired results, remove it. Change-Id: Idc683e47ef3ce42c694b713d6c88dce5485863c8 Signed-off-by: Satya Durga Srinivasu Prabhala --- include/linux/sched.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 7862e0a37094..a3064e1c84b9 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -542,9 +542,9 @@ DECLARE_PER_CPU_READ_MOSTLY(int, sched_load_boost); #ifdef CONFIG_SCHED_WALT extern void sched_exit(struct task_struct *p); -extern int __weak +extern int register_cpu_cycle_counter_cb(struct cpu_cycle_counter_cb *cb); -extern void __weak +extern void sched_update_cpu_freq_min_max(const cpumask_t *cpus, u32 fmin, u32 fmax); extern void free_task_load_ptrs(struct task_struct *p); extern void sched_set_refresh_rate(enum fps fps);