ARM: 7861/1: cacheflush: consolidate single-CPU ARMv7 cache disabling code
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 18 Oct 2013 21:06:03 +0000 (22:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 29 Oct 2013 11:06:23 +0000 (11:06 +0000)
commit39792c7cf3111d69dc4aa0923859d8b929e9039f
tree97e96f823d34ba2324efeafa5541893b062f112c
parent3c8828f6a0cb3bf1bae04a98135da3c53e20c217
ARM: 7861/1: cacheflush: consolidate single-CPU ARMv7 cache disabling code

This code is becoming duplicated in many places.  So let's consolidate
it into a handy macro that is known to be right and available for reuse.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cacheflush.h
arch/arm/mach-vexpress/dcscb.c
arch/arm/mach-vexpress/tc2_pm.c