ARM: 7862/1: pcpu: replace __get_cpu_var_uses
This is the ARM part of Christoph's patchset cleaning up the various uses of __get_cpu_var across the tree. The idea is to convert __get_cpu_var into either an explicit address calculation using this_cpu_ptr() or into a use of this_cpu operations that use the offset. Thereby address calculations are avoided and fewer registers are used when code is generated. [will: fixed debug ref counting checks and pcpu array accesses] Change-Id: I6fef85269e3347c6b9df386fb1cfe5e30689089b Acked-by:Catalin Marinas <catalin.marinas@arm.com> Signed-off-by:
Christoph Lameter <cl@linux.com> Signed-off-by:
Will Deacon <will.deacon@arm.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Git-commit: 1436c1aa626d0bc0e35c5c5231127086e80ab24a Git-Repo: git://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git Signed-off-by:
Abhimanyu Kapur <abhimany@codeaurora.org>
Loading
Please register or sign in to comment