ANDROID: Export symbols for vendor hooks
Add symbols used by vendor hooks which are either missing from previous kernel or newly added for the new kernel. Bug: 417372724 Change-Id: I344fa69ecfaf06d677bab4ad2adca8d9b5af26e8 Signed-off-by: Rick Yiu <rickyiu@google.com>
This commit is contained in:
committed by
Treehugger Robot
parent
5b56ab949a
commit
dc7c02e143
@@ -3989,6 +3989,7 @@ void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask)
|
||||
rcu_read_unlock();
|
||||
spin_unlock_irqrestore(&callback_lock, flags);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(cpuset_cpus_allowed);
|
||||
|
||||
/**
|
||||
* cpuset_cpus_allowed_fallback - final fallback before complete catastrophe.
|
||||
|
||||
@@ -2746,6 +2746,7 @@ out_unlock:
|
||||
put_task_struct(p);
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(push_cpu_stop);
|
||||
|
||||
/*
|
||||
* sched_class::set_cpus_allowed must do the below, but is not required to
|
||||
@@ -11128,6 +11129,7 @@ const int sched_prio_to_weight[40] = {
|
||||
/* 10 */ 110, 87, 70, 56, 45,
|
||||
/* 15 */ 36, 29, 23, 18, 15,
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(sched_prio_to_weight);
|
||||
|
||||
/*
|
||||
* Inverse (2^32/x) values of the sched_prio_to_weight[] array, pre-calculated.
|
||||
@@ -11146,6 +11148,7 @@ const u32 sched_prio_to_wmult[40] = {
|
||||
/* 10 */ 39045157, 49367440, 61356676, 76695844, 95443717,
|
||||
/* 15 */ 119304647, 148102320, 186737708, 238609294, 286331153,
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(sched_prio_to_wmult);
|
||||
|
||||
void call_trace_sched_update_nr_running(struct rq *rq, int count)
|
||||
{
|
||||
|
||||
@@ -94,6 +94,7 @@ unsigned int sysctl_sched_tunable_scaling = SCHED_TUNABLESCALING_LOG;
|
||||
* (default: 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds)
|
||||
*/
|
||||
unsigned int sysctl_sched_base_slice = 750000ULL;
|
||||
EXPORT_SYMBOL_GPL(sysctl_sched_base_slice);
|
||||
static unsigned int normalized_sysctl_sched_base_slice = 750000ULL;
|
||||
|
||||
/*
|
||||
|
||||
@@ -176,7 +176,7 @@ accumulate_sum(u64 delta, struct sched_avg *sa,
|
||||
* load_avg = u_0` + y*(u_0 + u_1*y + u_2*y^2 + ... )
|
||||
* = u_0 + u_1*y + u_2*y^2 + ... [re-labeling u_i --> u_{i+1}]
|
||||
*/
|
||||
static __always_inline int
|
||||
__always_inline int
|
||||
___update_load_sum(u64 now, struct sched_avg *sa,
|
||||
unsigned long load, unsigned long runnable, int running)
|
||||
{
|
||||
@@ -228,6 +228,7 @@ ___update_load_sum(u64 now, struct sched_avg *sa,
|
||||
|
||||
return 1;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(___update_load_sum);
|
||||
|
||||
/*
|
||||
* When syncing *_avg with *_sum, we must take into account the current
|
||||
|
||||
Reference in New Issue
Block a user