From: Thomas Petazzoni Date: Thu, 22 May 2014 12:48:02 +0000 (+0200) Subject: ARM: mvebu: returns ll_get_cpuid() to ll_get_coherency_cpumask() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~52^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07ae144be1b2ac45f893bc1ed3fe1a49f7128e46;p=pandora-kernel.git 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 Link: https://lkml.kernel.org/r/1400762882-10116-5-git-send-email-thomas.petazzoni@free-electrons.com Acked-by: Gregory CLEMENT Signed-off-by: Jason Cooper --- Reading git-diff-tree failed