From fbeeb29820498debdf496d159a17e09b02bbb686 Mon Sep 17 00:00:00 2001 From: "lakkyung.jung" Date: Mon, 29 Jan 2018 22:07:42 +0900 Subject: [PATCH] sched: ehmp: fix build error when ehmp was disabled. Change-Id: If7ec0ffe282781ab3bb0d5a845a98603aad66725 Signed-off-by: lakkyung.jung --- include/linux/ehmp.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.20.1