From: lakkyung.jung Date: Mon, 29 Jan 2018 13:07:42 +0000 (+0900) Subject: sched: ehmp: fix build error when ehmp was disabled. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fbeeb29820498debdf496d159a17e09b02bbb686;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sched: ehmp: fix build error when ehmp was disabled. Change-Id: If7ec0ffe282781ab3bb0d5a845a98603aad66725 Signed-off-by: lakkyung.jung --- diff --git a/include/linux/ehmp.h b/include/linux/ehmp.h index 24948551e089..e815b6d3d6a3 100644 --- a/include/linux/ehmp.h +++ b/include/linux/ehmp.h @@ -64,8 +64,6 @@ static inline int exynos_need_active_balance(enum cpu_idle_type idle, static inline unsigned long global_boost(void) { return 0; } static inline int find_second_max_cap(void) { return -EINVAL; } -static inline int exynos_select_cpu(struct task_struct *p, - int prev_cpu) { return -EINVAL; } static inline int exynos_select_cpu(struct task_struct *p, int prev_cpu, int sync, int sd_flag) { return -EINVAL; } @@ -84,5 +82,5 @@ static inline bool ehmp_trigger_lb(int src_cpu, int dst_cpu) { return false; } static inline void gb_qos_update_request(struct gb_qos_request *req, u32 new_value) { } -extern void request_kernel_prefer_perf(int grp_idx, int enable) { } +//extern void request_kernel_prefer_perf(int grp_idx, int enable) { } #endif /* CONFIG_SCHED_EHMP */