kernel-fxtec-pro1x/kernel/sched/stubs.c
Quentin Perret eead51495c ANDROID: GKI: sched: stub sched_isolate symbols
These are needed to let modules load during compliance testing, but the
underlying core-isolation feature is not necessary for android-common.

Bug: 149816871
Test: compiled, checked abi diff for missing sched_*isolate* symbols
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: Iaece1e98f821c50f2497b4a47b60714f49272750
2020-04-10 00:48:27 +00:00

30 lines
507 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Symbols stubs needed for GKI compliance
*/
#include "sched.h"
int sched_isolate_cpu(int cpu)
{
return -EINVAL;
}
EXPORT_SYMBOL_GPL(sched_isolate_cpu);
int sched_unisolate_cpu_unlocked(int cpu)
{
return -EINVAL;
}
EXPORT_SYMBOL_GPL(sched_unisolate_cpu_unlocked);
int sched_unisolate_cpu(int cpu)
{
return -EINVAL;
}
EXPORT_SYMBOL_GPL(sched_unisolate_cpu);
int set_task_boost(int boost, u64 period)
{
return -EINVAL;
}
EXPORT_SYMBOL_GPL(set_task_boost);