mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
ANDROID: GKI: kernel: Export task and IRQ affinity symbols
A module uses these symbols. So, export them to allow loading of that module. Bug: 149816871 Bug: 149256712 Signed-off-by: Saravana Kannan <saravanak@google.com> Change-Id: I949da5d091894ea3d79a6c9244bfc2f8426eee71 (cherry picked from commit dc928ba3bdfb4527e0ffca7c491d946a02e5bd11) [ qperret: made changes to commit message for AOSP compliance ] Signed-off-by: Quentin Perret <qperret@google.com>
This commit is contained in:
@@ -304,6 +304,7 @@ int __irq_set_affinity(unsigned int irq, const struct cpumask *mask, bool force)
|
||||
raw_spin_unlock_irqrestore(&desc->lock, flags);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__irq_set_affinity);
|
||||
|
||||
int irq_set_affinity_hint(unsigned int irq, const struct cpumask *m)
|
||||
{
|
||||
|
||||
@@ -5513,6 +5513,7 @@ out_put_task:
|
||||
put_task_struct(p);
|
||||
return retval;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sched_setaffinity);
|
||||
|
||||
static int get_user_cpu_mask(unsigned long __user *user_mask_ptr, unsigned len,
|
||||
struct cpumask *new_mask)
|
||||
|
||||
Reference in New Issue
Block a user