diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-05-22 14:48:02 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-05-22 14:26:30 +0000 |
commit | 07ae144be1b2ac45f893bc1ed3fe1a49f7128e46 (patch) | |
tree | 271e791dfc9a65a130d9899e5eda2d2d5a0e5e1d /block/cfq-iosched.c | |
parent | 4dd1b7fa431d6b59022b3493312c6c1b52dbf547 (diff) | |
download | linux-07ae144be1b2ac45f893bc1ed3fe1a49f7128e46.tar.bz2 |
ARM: mvebu: returns ll_get_cpuid() to ll_get_coherency_cpumask()
In the refactoring of the coherency fabric assembly code, a function
called ll_get_cpuid() was created to factorize common logic between
functions adding CPU to the SMP coherency group, enabling and
disabling the coherency.
However, the name of the function is highly misleading: ll_get_cpuid()
makes one think tat it returns the ID of the CPU, i.e 0 for CPU0, 1
for CPU1, etc. In fact, this is not at all what this function returns:
it returns a CPU mask for the current CPU, usable for the coherency
fabric configuration and control registers.
Therefore this commit renames this function to
ll_get_coherency_cpumask(), and adds additional comments on top of the
function to explain in more details what it does, and also how the
endianess issue is handled.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1400762882-10116-5-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions