commit | 55beff90f4d8bd5223b4947e8e306f3b385712eb | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Tue Apr 03 14:39:46 2018 +0530 |
committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | Tue Apr 03 22:51:21 2018 +0530 |
tree | 249b2b15a743be4d96af7770f76f3da7eaf147e0 | |
parent | 5eaea3749ec607bd8be987f44f34eb9f6188c349 [diff] |
sched: Fix a compilation issue in find_best_target() for !SCHED_WALT A CPU is marked as reserved when a task is under active migration to that CPU. The reserved CPUs are excluded from CPU selection in find_best_target(). This reservation scheme is currently tied to WALT. So add a stub function for is_reserved() to avoid compilation issue when WALT is disabled. Change-Id: I77c6a8fd3f24f1763fd97fce18574613e9e947ff Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>