aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched/cputime.c
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2013-02-13 16:20:44 +0000
committerNicolas Pitre <nicolas.pitre@linaro.org>2013-06-20 00:45:30 -0400
commit8e3aa3f1462fc25b810e867059b292675f0d3a94 (patch)
tree474e36c5d066286be965e6b9c3e36d6c6fa739c5 /kernel/sched/cputime.c
parent21ba6d493d0aa19b1932880ebbab057a99a9a9a1 (diff)
ARM: bL_switcher: Add query interface to discover CPU affinities
When the switcher is active, there is no straightforward way to figure out which logical CPU a given physical CPU maps to. This patch provides a function bL_switcher_get_logical_index(mpidr), which is analogous to get_logical_index(). This function returns the logical CPU on which the specified physical CPU is grouped (or -EINVAL if unknown). If the switcher is inactive or not present, -EUNATCH is returned instead. Signed-off-by: Dave Martin <dave.martin@linaro.org> Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'kernel/sched/cputime.c')
0 files changed, 0 insertions, 0 deletions