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:
Saravana Kannan 2020-02-10 17:26:09 -08:00
parent 95b8a4b5b1
commit 1d887ea976
2 changed files with 2 additions and 0 deletions

View file

@ -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)
{

View file

@ -5513,6 +5513,7 @@ long sched_setaffinity(pid_t pid, const struct cpumask *in_mask)
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)