summaryrefslogtreecommitdiffstats
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorSukanto Ghosh <sghosh@apm.com>2013-05-14 11:26:54 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2013-05-14 16:44:50 +0200
commitb4fed0796841b5293b9c9427a5391b7bb20ef2d9 (patch)
tree0a17c86e49059cfbec754bc1664fdd2c1692ad50 /lib/percpu_counter.c
parentarm64: Invoke the of_platform_populate() at arch_initcall() level (diff)
downloadlinux-b4fed0796841b5293b9c9427a5391b7bb20ef2d9.tar.xz
linux-b4fed0796841b5293b9c9427a5391b7bb20ef2d9.zip
arm64: mm: Fix operands of clz in __flush_dcache_all
The format of the lower 32-bits of the 64-bit operand to 'dc cisw' is unchanged from ARMv7 architecture and the upper bits are RES0. This implies that the 'way' field of the operand of 'dc cisw' occupies the bit-positions [31 .. (32-A)]. Due to the use of 64-bit extended operands to 'clz', the existing implementation of __flush_dcache_all is incorrectly placing the 'way' field in the bit-positions [63 .. (64-A)]. Signed-off-by: Sukanto Ghosh <sghosh@apm.com> Tested-by: Anup Patel <anup.patel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions